import * as react_jsx_runtime from 'react/jsx-runtime';
import * as _radix_ui_react_context from '@radix-ui/react-context';
import { Scope } from '@radix-ui/react-context';
import * as React from 'react';
import { Primitive } from '@radix-ui/react-primitive';
type ScopedProps
= P & {
__scopeCheckbox?: Scope;
};
declare const createCheckboxScope: _radix_ui_react_context.CreateScope;
type CheckedState = boolean | 'indeterminate';
interface CheckboxProviderProps {
checked?: State | boolean;
defaultChecked?: State | boolean;
required?: boolean;
onCheckedChange?(checked: State | boolean): void;
name?: string;
form?: string;
disabled?: boolean;
value?: string | number | readonly string[];
children?: React.ReactNode;
}
declare function CheckboxProvider(props: ScopedProps>): react_jsx_runtime.JSX.Element;
interface CheckboxTriggerProps extends Omit, keyof CheckboxProviderProps> {
children?: React.ReactNode;
}
declare const CheckboxTrigger: React.ForwardRefExoticComponent>;
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>;
type InputProps = React.ComponentPropsWithoutRef;
interface CheckboxBubbleInputProps extends Omit {
}
declare const CheckboxBubbleInput: React.ForwardRefExoticComponent>;
export { Checkbox, CheckboxIndicator, type CheckboxIndicatorProps, type CheckboxProps, type CheckedState, CheckboxIndicator as Indicator, Checkbox as Root, createCheckboxScope, CheckboxBubbleInput as unstable_BubbleInput, CheckboxBubbleInput as unstable_CheckboxBubbleInput, type CheckboxBubbleInputProps as unstable_CheckboxBubbleInputProps, CheckboxProvider as unstable_CheckboxProvider, type CheckboxProviderProps as unstable_CheckboxProviderProps, CheckboxTrigger as unstable_CheckboxTrigger, type CheckboxTriggerProps as unstable_CheckboxTriggerProps, CheckboxProvider as unstable_Provider, CheckboxTrigger as unstable_Trigger };