import React from 'react'; type BuiltinFlavor = 'primary' | 'success' | 'danger' | 'warning' | 'neutral'; type ShadedFlavor = BuiltinFlavor | `${BuiltinFlavor}+` | `${BuiltinFlavor}-`; export interface TyCheckboxProps extends Omit, 'onChange' | 'onInput'> { /** Checked state */ checked?: boolean; /** Mixed state (dash) — visual/ARIA only; clicking resolves to checked */ indeterminate?: boolean; /** Form field value when checked */ value?: string; /** Form field name */ name?: string; /** Disable the checkbox */ disabled?: boolean; /** Required field */ required?: boolean; /** Error message */ error?: string; /** Checkbox size */ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl'; /** Semantic styling variant */ flavor?: ShadedFlavor | (string & {}); /** * Fires when checkbox state changes (React convention) * Maps to native 'input' event from ty-checkbox */ onChange?: (event: CustomEvent) => void; /** * Fires on blur if value changed (native DOM behavior) * Maps to native 'change' event from ty-checkbox */ onChangeCommit?: (event: CustomEvent) => void; /** Checkbox label content */ children?: React.ReactNode; } export interface TyCheckboxEventDetail { value: boolean; checked: boolean; formValue: string | null; originalEvent: Event; } export declare const TyCheckbox: React.ForwardRefExoticComponent>; export {}; //# sourceMappingURL=TyCheckbox.d.ts.map