import { ApFormListProps } from '../interface';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
type FormListField = {
    key: number;
    name: (string | number)[];
    value: any;
    fieldName: number;
};
type FormListActions = {
    add: (defaultValue?: any) => number;
    remove: (name: number) => void;
    getFieldKeys: () => number[];
};
type ApFormListSlots = {
    default(props: {
        fields: FormListField[];
        actions: FormListActions;
    }): any;
};
declare function __VLS_template(): {
    attrs: Partial<{}>;
    slots: Readonly<ApFormListSlots> & ApFormListSlots;
    refs: {};
    rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<ApFormListProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormListProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
