import { kdsCheckboxGroupAlignment, kdsCheckboxValue } from './enums';
export type KdsCheckboxValue = (typeof kdsCheckboxValue)[keyof typeof kdsCheckboxValue];
type BaseProps = {
    /**
     * Whether the checkbox is disabled
     */
    disabled?: boolean;
    /**
     * Whether the checkbox is in an error state
     */
    error?: boolean;
    /**
     * Optional helper or error text shown below the checkbox and referenced via aria-describedby.
     */
    subText?: string;
    /**
     * Reserve space for subtext to prevent layout shifts when helper text or errors appear.
     */
    preserveSubTextSpace?: boolean;
};
type LabelOrTitle = {
    /**
     * The label text for the checkbox
     */
    label: string;
    title?: never;
} | {
    label?: never;
    /**
     * Used when no visible label is provided (required for accessibility).
     */
    title: string;
};
export type BaseCheckboxProps = BaseProps & LabelOrTitle & {
    /**
     * Helper text displayed below the label
     */
    helperText?: string;
};
export type KdsCheckboxProps = BaseProps & LabelOrTitle;
export type KdsCheckboxGroupOption = {
    text: string;
    id: string;
    disabled?: boolean;
    helperText?: string;
    error?: boolean;
};
export type KdsCheckboxGroupAlignment = (typeof kdsCheckboxGroupAlignment)[keyof typeof kdsCheckboxGroupAlignment];
export type KdsCheckboxGroupProps = {
    id?: string;
    label?: string;
    possibleValues: Array<string | KdsCheckboxGroupOption>;
    alignment?: KdsCheckboxGroupAlignment;
} & BaseProps;
export {};
//# sourceMappingURL=types.d.ts.map