import React from 'react'; import type { ReactNode } from 'react'; import { NativeProps } from '../../utils/native-props'; export declare type CheckboxValue = string | number; export declare type CheckboxProps = { checked?: boolean; defaultChecked?: boolean; disabled?: boolean; onChange?: (checked: boolean) => void; value?: CheckboxValue; indeterminate?: boolean; block?: boolean; id?: string; icon?: (checked: boolean, indeterminate: boolean) => ReactNode; children?: ReactNode; onClick?: (event: React.MouseEvent) => void; } & NativeProps<'--icon-size' | '--font-size' | '--gap'>; export declare type CheckboxRef = { check: () => void; uncheck: () => void; toggle: () => void; }; export declare const Checkbox: React.ForwardRefExoticComponent<{ checked?: boolean | undefined; defaultChecked?: boolean | undefined; disabled?: boolean | undefined; onChange?: ((checked: boolean) => void) | undefined; value?: CheckboxValue | undefined; indeterminate?: boolean | undefined; block?: boolean | undefined; id?: string | undefined; icon?: ((checked: boolean, indeterminate: boolean) => ReactNode) | undefined; children?: ReactNode; onClick?: ((event: React.MouseEvent) => void) | undefined; } & { className?: string | undefined; style?: (React.CSSProperties & Partial>) | undefined; tabIndex?: number | undefined; } & React.AriaAttributes & React.RefAttributes>;