import React from 'react';
export interface SwitchProps {
    /** 选中改变事件 */
    onChange?: (checked: boolean) => void;
    /** 是否选中 */
    checked?: boolean;
    /** 是否禁用 */
    disabled?: boolean;
    /** 选中背景颜色 */
    activeBackground?: string;
    /** 是否显示文字 */
    showText?: boolean;
    /** 开关打开时的文字 */
    onText?: string;
    /** 开关关闭时的文字 */
    offText?: string;
    /** 宽度 */
    width?: number;
}
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<unknown>>;
export default Switch;
//# sourceMappingURL=index.d.ts.map