import type { ComponentProps, ReactNode } from 'react'; export type CheckboxSize = 'sm' | 'md'; export interface CheckboxProps extends Omit, 'type' | 'size'> { /** Box size: 18px (`sm`) or 22px (`md`). */ size?: CheckboxSize; /** Visible label, associated with the checkbox. */ label?: ReactNode; /** Help text under the label, linked with `aria-describedby`. */ description?: ReactNode; /** Invalid state. A message replaces the description; `true` keeps it. */ error?: ReactNode | boolean; /** Mixed state for a parent of partially selected children. Set it from state — a click clears the DOM flag. */ indeterminate?: boolean; } /** A native checkbox drawn as a brutalist box, with label, description and error built in. */ export declare function Checkbox({ size, label, description, error, indeterminate, id, className, disabled, required, ref, 'aria-describedby': describedBy, ...rest }: CheckboxProps): import("react").JSX.Element;