import * as React from "react"; import * as Radix from "@radix-ui/react-primitive"; import { Primitive } from "@radix-ui/react-primitive"; export const createCheckboxScope: import("@radix-ui/react-context").CreateScope; type CheckedState = boolean | 'indeterminate'; type PrimitiveButtonProps = Radix.ComponentPropsWithoutRef; export interface CheckboxProps extends Omit { checked?: CheckedState; defaultChecked?: CheckedState; required?: boolean; onCheckedChange?(checked: CheckedState): void; } export const Checkbox: React.ForwardRefExoticComponent>; type PrimitiveSpanProps = Radix.ComponentPropsWithoutRef; export interface CheckboxIndicatorProps extends PrimitiveSpanProps { /** * Used to force mounting when more control is needed. Useful when * controlling animation with React animation libraries. */ forceMount?: true; } export const CheckboxIndicator: React.ForwardRefExoticComponent>; export const Root: React.ForwardRefExoticComponent>; export const Indicator: React.ForwardRefExoticComponent>; //# sourceMappingURL=index.d.ts.map