import { ChangeEvent, ReactNode } from 'react';
import { GenericComponent } from '../../@types/types';
import { SIZES } from '../../constants';
import { BoxProps } from '../box/Box';
export interface ToggleProps extends Omit<BoxProps, 'className' | 'size'> {
    checked?: boolean;
    children?: ReactNode;
    disabled?: boolean;
    /** The maximum number of lines the label can take */
    maxLines?: number;
    name?: string;
    className?: string;
    label?: ReactNode;
    onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
    size?: Exclude<typeof SIZES[number], 'tiny' | 'fullscreen' | 'smallest' | 'hero'>;
}
declare const Toggle: GenericComponent<ToggleProps>;
export default Toggle;
