import { type ReactNode } from 'react'; interface CheckboxBlockProps { id?: string; checked?: boolean; defaultChecked?: boolean; onCheckedChange?: (checked: boolean) => void; /** Primary label (supports rich text / ReactNode for inline links) */ label: ReactNode; /** Optional secondary description below the label (supports rich text / ReactNode) */ description?: ReactNode; /** Keep the label on one line and ellipsize on overflow instead of wrapping */ truncateLabel?: boolean; /** * Optional trailing slot rendered at the end of the row (e.g. an action * button). Interactive content must call `preventDefault` on click to stop * the wrapping label from toggling the checkbox. */ trailing?: ReactNode; disabled?: boolean; /** Marks the box `aria-required` AND draws the `RequiredMark` after the label — the * same pairing every required field carries, so neither signal stands alone. */ required?: boolean; /** Error message displayed below the block (also triggers red border) */ error?: string; className?: string; } declare const CheckboxBlock: import("react").ForwardRefExoticComponent>; export { CheckboxBlock }; export type { CheckboxBlockProps }; //# sourceMappingURL=checkbox-block.d.ts.map