import React from 'react';
import { NormalTypes } from '../utils/prop-types';
export type ToggleTypes = NormalTypes;
export interface ToggleEventTarget {
    checked: boolean;
}
export interface ToggleEvent {
    target: ToggleEventTarget;
    stopPropagation: () => void;
    preventDefault: () => void;
    nativeEvent: React.ChangeEvent;
}
interface Props {
    checked?: boolean;
    initialChecked?: boolean;
    onChange?: (ev: ToggleEvent) => void;
    disabled?: boolean;
    type?: ToggleTypes;
    className?: string;
    children?: React.ReactNode;
}
type NativeAttrs = Omit<React.LabelHTMLAttributes<any>, keyof Props>;
export type ToggleProps = Props & NativeAttrs;
export type ToggleSize = {
    width: string;
    height: string;
};
declare const Toggle: React.ForwardRefExoticComponent<Props & NativeAttrs & {
    width?: string | number;
    height?: string | number;
    padding?: string | number;
    margin?: string | number;
    w?: string | number;
    h?: string | number;
    paddingLeft?: string | number;
    paddingRight?: string | number;
    paddingTop?: string | number;
    paddingBottom?: string | number;
    pl?: string | number;
    pr?: string | number;
    pt?: string | number;
    pb?: string | number;
    marginLeft?: string | number;
    marginRight?: string | number;
    marginTop?: string | number;
    marginBottom?: string | number;
    ml?: string | number;
    mr?: string | number;
    mt?: string | number;
    mb?: string | number;
    px?: string | number;
    py?: string | number;
    mx?: string | number;
    my?: string | number;
    font?: string | number;
    unit?: string;
    scale?: number;
    children?: any;
    className?: string;
} & React.InputHTMLAttributes<any> & React.RefAttributes<unknown>>;
export default Toggle;
