/*! Strand UI | MIT License | dillingerstaffing.com */ import type { JSX } from "preact"; export interface CheckboxProps extends Omit, "checked" | "onChange" | "label" | "type" | "role"> { /** Controlled state; leave unset to let the input own it. */ checked?: boolean; /** Initial state of an uncontrolled checkbox. */ defaultChecked?: boolean; /** Mixed state; the DOM property, so :indeterminate paints and announces it. */ indeterminate?: boolean; onChange?: (e: Event) => void; disabled?: boolean; label?: string; /** `compact` drops the row to 30px on a fine pointer only (DL 14.7). */ density?: "comfortable" | "compact"; className?: string; } /** * Toggle for a boolean or mixed selection; the native input carries the state and the sheet reads it. * * @example * setAgreed((a) => !a)} label="Accept terms" /> */ export declare const Checkbox: import("preact").FunctionalComponent & { ref?: import("preact").Ref | undefined; }>; //# sourceMappingURL=Checkbox.d.ts.map