import { type ChangeEvent, type ComponentProps } from 'react';
/**
* Unstyled Carbon `Checkbox`: the native ` ` itself, so forms, Space, labels
* and screen readers come from the browser (as Carbon). Hide the input over a box you draw beside
* it (`peer` + `peer-checked:` / `peer-data-indeterminate:` …) and wrap both in a ``.
* `indeterminate` is the DOM property (screen readers hear "mixed"); `readOnly` keeps the state but
* blocks toggling (`aria-readonly`). Controlled with `checked` + `onChange` / `onCheckedChange`, or
* uncontrolled with `defaultChecked`.
*
* State shows as data attributes to style on: `data-checked`, `data-indeterminate`, `data-disabled`,
* `data-readonly` and `data-invalid`.
*
* ```tsx
*
*
* Email me
*
* ```
*/
export interface RootProps extends Omit, 'type'> {
/** Mixed state (a parent of some checked children): set as the DOM property. */
indeterminate?: boolean;
/** Keeps the state: a click or Space changes nothing (`aria-readonly`). */
readOnly?: boolean;
/** `aria-invalid` and `data-invalid`. */
invalid?: boolean;
/** After the user checks or unchecks it. */
onCheckedChange?: (checked: boolean, event: ChangeEvent) => void;
}
export declare function Root({ indeterminate, readOnly, invalid, onCheckedChange, checked, defaultChecked, ref, ...rest }: Readonly): import("react").JSX.Element;