import type { ButtonHTMLAttributes, ReactNode } from 'react';
import type { FormControlProps } from '../../utils/primitiveProps.js';
import type { SxProp } from '../Layout/sx.js';
export type CheckedState = boolean | 'indeterminate';
interface CheckboxRootProps extends Omit, 'value' | 'onChange' | 'checked' | 'defaultChecked' | 'type'>, FormControlProps {
/** Controlled checked state; `'indeterminate'` renders the dash. */
checked?: CheckedState;
/** Uncontrolled initial checked state. */
defaultChecked?: CheckedState;
/** Fires when the checked state changes. */
onCheckedChange?: (checked: CheckedState) => void;
/** Value submitted with the form when checked. Default: `'on'`. */
value?: string;
}
export interface CheckboxProps extends Omit {
/** Label text or node rendered next to the box. */
children?: ReactNode;
/**
* One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a
* responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx
* merges into inline style; responsive sx injects a scoped class. Applied to
* the outer label wrapper, or the checkbox itself when there is no label.
*/
sx?: SxProp;
}
/** Accessible checkbox — tri-state (`checked | 'indeterminate' | false`). */
export declare const Checkbox: import("react").ForwardRefExoticComponent>;
export {};