import React, { ElementType } from 'react'; import { Props } from '../../types'; declare let DEFAULT_SWITCH_TAG: "button"; interface SwitchRenderPropArg { checked: boolean; } declare type SwitchPropsWeControl = 'id' | 'role' | 'tabIndex' | 'aria-checked' | 'aria-labelledby' | 'aria-describedby' | 'onClick' | 'onKeyUp' | 'onKeyPress'; export declare function Switch(props: Props & { checked: boolean; onChange(checked: boolean): void; }): React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | null; export declare namespace Switch { var Group: = React.ExoticComponent<{ children?: React.ReactNode; }>>(props: Props) => JSX.Element; var Label: typeof import("../label/label").Label; var Description: typeof import("../description/description").Description; } export {};