import * as React from 'react'; import { InputProps, InputChangeEvent } from '../../common'; export declare type ToggleChangeEvent = InputChangeEvent; export interface ToggleProps extends InputProps { /** * Sets the text of label. * @default '' */ label?: React.ReactChild; /** * The content of the toggle button. */ children?: React.ReactNode; } export interface ToggleState { value: boolean; error?: React.ReactChild; controlled: boolean; focused: boolean; } /** * The toggle component displays a button to toggle a checked state. */ export declare const Toggle: React.SFC;