import { default as React } from 'react';
import { BaseProps } from '../../types';

export type SwitchSize = 20 | 16 | 12;
export interface SwitchProps extends BaseProps {
    /** 是否开启（受控） */
    checked?: boolean;
    /** 默认状态（非受控），默认 false */
    defaultChecked?: boolean;
    /** 状态变更回调 */
    onChange?: (checked: boolean) => void;
    /** 禁用 */
    disabled?: boolean;
    /** 尺寸，默认 20 */
    size?: SwitchSize;
    /** 无障碍标签 */
    'aria-label'?: string;
}
export declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
//# sourceMappingURL=Switch.d.ts.map