import { ChangeEvent, ReactNode } from 'react';
import { BoxProps } from '../box/Box';
declare type Size = 'small' | 'medium' | 'large';
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?: Size;
}
declare const Toggle: ({ checked, children, disabled, maxLines, className, label, onChange, size, ...others }: ToggleProps) => JSX.Element;
export default Toggle;
