import type { CheckboxBaseProps } from '@fluentui/react-checkbox'; import type { CheckboxBaseState } from '@fluentui/react-checkbox'; import type { CheckboxSlots as CheckboxSlots_2 } from '@fluentui/react-checkbox'; import type { ForwardRefComponent } from '@fluentui/react-utilities'; import type * as React_2 from 'react'; import { renderCheckbox_unstable as renderCheckbox } from '@fluentui/react-checkbox'; /** * Checkbox component - TODO: add more docs */ export declare const Checkbox: ForwardRefComponent; /** * Checkbox Props */ export declare type CheckboxProps = CheckboxBaseProps; export declare type CheckboxSlots = CheckboxSlots_2; /** * State used in rendering Checkbox */ export declare type CheckboxState = CheckboxBaseState & { root: { /** * Data attribute set when the checkbox is disabled. */ 'data-disabled'?: string; /** * Data attribute set when the checkbox is checked. Value is 'mixed' when in the indeterminate state. */ 'data-checked'?: string; /** * Data attribute reflecting the label position. */ 'data-label-position'?: CheckboxBaseState['labelPosition']; }; }; export { renderCheckbox } /** * Create the state required to render Checkbox. * * The returned state can be modified with hooks, * before being passed to renderCheckbox_unstable. * * @param props - props from this instance of Checkbox * @param ref - reference to root HTMLInputElement of Checkbox */ export declare const useCheckbox: (props: CheckboxProps, ref: React_2.Ref) => CheckboxState; export { }