import { ApFormItemSlots } from '../../interface';
import { ApFormItemCheckboxProps } from '../interface';
import { ComponentInternalInstance, VNode, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
import { FieldMode, ApFieldCheckboxProps } from '../../..';
import { CheckboxValueType } from '@aplus-frontend/antdv/es/checkbox/interface';
import { CheckboxOptionType, CheckboxGroupProps } from '@aplus-frontend/antdv';
import { OnCleanup } from '@vue/reactivity';
type ApFormItemCheckboxSlots = Omit<ApFormItemSlots, 'default'>;
declare function __VLS_template(): {
    attrs: Partial<{}>;
    slots: Readonly<ApFormItemCheckboxSlots> & ApFormItemCheckboxSlots;
    refs: {
        checkboxRef: ({
            $: ComponentInternalInstance;
            $data: {};
            $props: {
                readonly mode?: FieldMode | undefined;
                readonly class?: unknown;
                readonly style?: unknown;
                readonly emptyText?: string | undefined;
                readonly customReadMode?: ((originalNode: any, val?: any) => VNode) | undefined;
                readonly onChange?: ((checkedValue: Array< CheckboxValueType>) => void) | undefined;
                readonly value?: CheckboxValueType[] | undefined;
                readonly disabled?: boolean | undefined;
                readonly 'onUpdate:value'?: (((checkedValue: Array< CheckboxValueType>) => void) & ((...args: any[]) => any)) | undefined;
                readonly defaultValue?: CheckboxValueType[] | undefined;
                readonly options?: (string | number | CheckboxOptionType)[] | undefined;
                readonly id?: string | undefined;
                readonly prefixCls?: string | undefined;
                readonly name?: string | undefined;
                readonly request?: (() => Promise< CheckboxGroupProps["options"]>) | undefined;
                readonly vertical?: boolean | undefined;
            } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
            $attrs: Attrs;
            $refs: {
                [x: string]: unknown;
            };
            $slots: Readonly<{
                [name: string]: Slot<any> | undefined;
            }>;
            $root: ComponentPublicInstance | null;
            $parent: ComponentPublicInstance | null;
            $host: Element | null;
            $emit: (event: "update:value", ...args: any[]) => void;
            $el: any;
            $options: ComponentOptionsBase<Readonly< ApFieldCheckboxProps> & Readonly<{
                "onUpdate:value"?: ((...args: any[]) => any) | undefined;
            }>, {
                request: () => void;
            }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
                "update:value": (...args: any[]) => void;
            }, string, {
                mode: FieldMode;
                disabled: boolean;
                options: (string | number | CheckboxOptionType)[];
                emptyText: string;
            }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
                beforeCreate?: (() => void) | (() => void)[];
                created?: (() => void) | (() => void)[];
                beforeMount?: (() => void) | (() => void)[];
                mounted?: (() => void) | (() => void)[];
                beforeUpdate?: (() => void) | (() => void)[];
                updated?: (() => void) | (() => void)[];
                activated?: (() => void) | (() => void)[];
                deactivated?: (() => void) | (() => void)[];
                beforeDestroy?: (() => void) | (() => void)[];
                beforeUnmount?: (() => void) | (() => void)[];
                destroyed?: (() => void) | (() => void)[];
                unmounted?: (() => void) | (() => void)[];
                renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
                renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
                errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
            };
            $forceUpdate: () => void;
            $nextTick: nextTick;
            $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
        } & Readonly<{
            mode: FieldMode;
            disabled: boolean;
            options: (string | number | CheckboxOptionType)[];
            emptyText: string;
        }> & Omit<Readonly< ApFieldCheckboxProps> & Readonly<{
            "onUpdate:value"?: ((...args: any[]) => any) | undefined;
        }>, "request" | ("mode" | "disabled" | "options" | "emptyText")> & {
            request: () => void;
        } & {} & ComponentCustomProperties & {} & {
            $slots: Readonly<{
                label?: any;
                default?: any;
            }> & {
                label?: any;
                default?: any;
            };
        }) | null;
    };
    rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<ApFormItemCheckboxProps, {
    request: () => void | undefined;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormItemCheckboxProps> & Readonly<{}>, {
    disabled: boolean;
    required: boolean;
    colon: boolean;
    hasFeedback: boolean;
    autoLink: boolean;
    validateFirst: boolean;
    field: Omit< ApFieldCheckboxProps, "value" | "onUpdate:value">;
}, {}, {}, {}, string, ComponentProvideOptions, false, {
    checkboxRef: ({
        $: ComponentInternalInstance;
        $data: {};
        $props: {
            readonly mode?: FieldMode | undefined;
            readonly class?: unknown;
            readonly style?: unknown;
            readonly emptyText?: string | undefined;
            readonly customReadMode?: ((originalNode: any, val?: any) => VNode) | undefined;
            readonly onChange?: ((checkedValue: Array< CheckboxValueType>) => void) | undefined;
            readonly value?: CheckboxValueType[] | undefined;
            readonly disabled?: boolean | undefined;
            readonly 'onUpdate:value'?: (((checkedValue: Array< CheckboxValueType>) => void) & ((...args: any[]) => any)) | undefined;
            readonly defaultValue?: CheckboxValueType[] | undefined;
            readonly options?: (string | number | CheckboxOptionType)[] | undefined;
            readonly id?: string | undefined;
            readonly prefixCls?: string | undefined;
            readonly name?: string | undefined;
            readonly request?: (() => Promise< CheckboxGroupProps["options"]>) | undefined;
            readonly vertical?: boolean | undefined;
        } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
        $attrs: Attrs;
        $refs: {
            [x: string]: unknown;
        };
        $slots: Readonly<{
            [name: string]: Slot<any> | undefined;
        }>;
        $root: ComponentPublicInstance | null;
        $parent: ComponentPublicInstance | null;
        $host: Element | null;
        $emit: (event: "update:value", ...args: any[]) => void;
        $el: any;
        $options: ComponentOptionsBase<Readonly< ApFieldCheckboxProps> & Readonly<{
            "onUpdate:value"?: ((...args: any[]) => any) | undefined;
        }>, {
            request: () => void;
        }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
            "update:value": (...args: any[]) => void;
        }, string, {
            mode: FieldMode;
            disabled: boolean;
            options: (string | number | CheckboxOptionType)[];
            emptyText: string;
        }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
            beforeCreate?: (() => void) | (() => void)[];
            created?: (() => void) | (() => void)[];
            beforeMount?: (() => void) | (() => void)[];
            mounted?: (() => void) | (() => void)[];
            beforeUpdate?: (() => void) | (() => void)[];
            updated?: (() => void) | (() => void)[];
            activated?: (() => void) | (() => void)[];
            deactivated?: (() => void) | (() => void)[];
            beforeDestroy?: (() => void) | (() => void)[];
            beforeUnmount?: (() => void) | (() => void)[];
            destroyed?: (() => void) | (() => void)[];
            unmounted?: (() => void) | (() => void)[];
            renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
            renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
            errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
        };
        $forceUpdate: () => void;
        $nextTick: nextTick;
        $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
    } & Readonly<{
        mode: FieldMode;
        disabled: boolean;
        options: (string | number | CheckboxOptionType)[];
        emptyText: string;
    }> & Omit<Readonly< ApFieldCheckboxProps> & Readonly<{
        "onUpdate:value"?: ((...args: any[]) => any) | undefined;
    }>, "request" | ("mode" | "disabled" | "options" | "emptyText")> & {
        request: () => void;
    } & {} & ComponentCustomProperties & {} & {
        $slots: Readonly<{
            label?: any;
            default?: any;
        }> & {
            label?: any;
            default?: any;
        };
    }) | null;
}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
