import * as React from 'react'; import { Primitive } from '@radix-ui/react-primitive'; type Scope = { [scopeName: string]: React.Context[]; } | undefined; type ScopeHook = (scope: Scope) => { [__scopeProp: string]: Scope; }; interface CreateScope { scopeName: string; (): ScopeHook; } declare const createCheckboxScope: CreateScope; type CheckedState = boolean | 'indeterminate'; type PrimitiveButtonProps = React.ComponentPropsWithoutRef; interface CheckboxProps extends Omit { checked?: CheckedState; defaultChecked?: CheckedState; required?: boolean; onCheckedChange?(checked: CheckedState): void; } declare const Checkbox: React.ForwardRefExoticComponent>; type PrimitiveSpanProps = React.ComponentPropsWithoutRef; interface CheckboxIndicatorProps extends PrimitiveSpanProps { /** * Used to force mounting when more control is needed. Useful when * controlling animation with React animation libraries. */ forceMount?: true; } declare const CheckboxIndicator: React.ForwardRefExoticComponent>; declare const Root: React.ForwardRefExoticComponent>; declare const Indicator: React.ForwardRefExoticComponent>; export { Checkbox, CheckboxIndicator, type CheckboxIndicatorProps, type CheckboxProps, type CheckedState, Indicator, Root, createCheckboxScope };