import { ComputedRef, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { SwitchProps, SwitchValue } from './switch.js';
import { ComponentSize } from '../../../xiaoye-primitives/index.js';
declare function focus(): void;
declare function __VLS_template(): {
    attrs: Partial<{}>;
    slots: {
        inactive?(_: {}): any;
        inactive?(_: {}): any;
        active?(_: {}): any;
        active?(_: {}): any;
        'active-action'?(_: {}): any;
        'inactive-action'?(_: {}): any;
    };
    refs: {
        inputRef: HTMLInputElement;
    };
    rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<SwitchProps, {
    focus: typeof focus;
    checked: ComputedRef<boolean>;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
    blur: (event: FocusEvent) => any;
    change: (value: SwitchValue) => any;
    focus: (event: FocusEvent) => any;
    input: (value: SwitchValue) => any;
    "update:modelValue": (value: SwitchValue) => any;
}, string, PublicProps, Readonly<SwitchProps> & Readonly<{
    onBlur?: ((event: FocusEvent) => any) | undefined;
    onChange?: ((value: SwitchValue) => any) | undefined;
    onFocus?: ((event: FocusEvent) => any) | undefined;
    onInput?: ((value: SwitchValue) => any) | undefined;
    "onUpdate:modelValue"?: ((value: SwitchValue) => any) | undefined;
}>, {
    size: ComponentSize;
    id: string;
    modelValue: SwitchValue;
    name: string;
    width: string | number;
    disabled: boolean;
    loading: boolean;
    tabindex: string | number;
    validateEvent: boolean;
    ariaLabel: string;
    activeIcon: string;
    inlinePrompt: boolean;
    inactiveActionIcon: string;
    activeActionIcon: string;
    inactiveIcon: string;
    activeText: string;
    inactiveText: string;
    activeValue: SwitchValue;
    inactiveValue: SwitchValue;
    beforeChange: () => Promise<boolean> | boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {
    inputRef: HTMLInputElement;
}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
