import type { LNode } from '../../common.type';
export interface TypeCheckboxProps {
    checkAll?: boolean;
    checked?: boolean;
    defaultChecked?: boolean;
    default?: string | LNode;
    disabled?: boolean;
    indeterminate?: boolean;
    label?: string | LNode;
    name?: string;
    readonly?: boolean;
    value?: string | number;
    onChange?: (checked: boolean, context: {
        e: Event;
    }) => void;
}
export interface TypeCheckboxGroupProps {
    disabled?: boolean;
    max?: number;
    name?: string;
    options?: Array<CheckboxOption>;
    value?: CheckboxGroupValue;
    defaultValue?: CheckboxGroupValue;
    onChange?: (value: CheckboxGroupValue, context: CheckboxGroupChangeContext) => void;
}
export declare type CheckboxOption = string | number | CheckboxOptionObj;
export interface CheckboxOptionObj {
    label?: string | LNode;
    value?: string | number;
    disabled?: boolean;
    name?: string;
    checkAll?: true;
}
export declare type CheckboxGroupValue = Array<string | number>;
export interface CheckboxGroupChangeContext {
    e: Event;
    current: string | number;
    option: CheckboxOption | TypeCheckboxProps;
    type: 'check' | 'uncheck';
}
