import * as React from 'react'; import { OmitNativeProps, BaseProps } from "../../../utils/types"; import { ChangeEvent } from "../../../common.type"; export declare type SwitchSize = 'regular' | 'tiny' | 'large'; export declare type SwitchAppearance = 'primary' | 'alert' | 'success' | 'warning'; declare type KeyboardEvent = React.KeyboardEvent; export interface SwitchProps extends BaseProps, OmitNativeProps { size?: SwitchSize; appearance?: SwitchAppearance; defaultChecked?: boolean; checked?: boolean; disabled?: boolean; name?: string; value?: string; onChange?: (event: ChangeEvent | KeyboardEvent, selected: boolean) => void; } export declare const Switch: React.ForwardRefExoticComponent>; export default Switch;