import * as react from 'react'; import { ChangeEventHandler, ChangeEvent, ComponentProps } from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { ResponsiveProp } from '../../styling/src/useResponsiveValue.js'; import { OmitInternalProps } from '../../shared/src/types.js'; import { AbstractInputProps } from '../../input/src/types.js'; import '../../styling/src/BreakpointProvider.js'; import '../../styling/src/styled-system/props-handler.js'; import 'csstype'; import '../../shared/src/type-fest.js'; import '../../styling/src/styled-system/StylingContext.js'; import '../../group/src/Group.js'; import '../../layout/src/Flex.js'; declare const DefaultElement = "label"; interface InnerCheckboxProps extends Omit, "onChange"> { /** * A controlled checked state value. */ checked?: boolean | null; /** * The initial value of `checked` when uncontrolled. */ defaultChecked?: boolean; /** * The initial value of `indeterminate`. */ defaultIndeterminate?: boolean; /** * @ignore */ disabled?: boolean; /** * A controlled indeterminate state value. */ indeterminate?: boolean | null; /** * @ignore */ name?: string; /** * Called when the checkbox checked state change. * @param {ChangeEvent} event - React's original synthetic event. * @returns {void} */ onChange?: ChangeEventHandler; /** * Called when the checkbox checked state change. * @param {ChangeEvent} event - React's original synthetic event. * @param {boolean} isChecked - Whether or not the input is checked. * @returns {void} */ onValueChange?: (event: ChangeEvent, isChecked: boolean) => void; /** * Invert the order the checkmark box and the label. */ reverse?: boolean; /** * A checkbox can vary in size. */ size?: ResponsiveProp<"sm" | "md">; /** * The value to associate with when in a group. */ value?: string; } declare function InnerCheckbox(props: InnerCheckboxProps): react_jsx_runtime.JSX.Element; declare namespace InnerCheckbox { var defaultElement: string; } /** * A checkbox allows the user to toggle between 2 or 3 (indeterminate) choices. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/checkbox--default-story) */ declare const Checkbox: react.ForwardRefExoticComponent, "ref"> & react.RefAttributes>; type CheckboxProps = ComponentProps; export { Checkbox, type CheckboxProps, InnerCheckbox, type InnerCheckboxProps };