import { FormProps, FormTrigger, FormRules } from './context.js';
import { FormProp } from './utils.js';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { ComponentSize } from '../../../xiaoye-primitives/index.js';
declare function validate(): Promise<boolean>;
declare function validateField(prop?: FormProp | FormProp[], trigger?: FormTrigger): Promise<boolean>;
declare function resetFields(prop?: FormProp | FormProp[]): void;
declare function clearValidate(prop?: FormProp | FormProp[]): void;
declare function __VLS_template(): {
    attrs: Partial<{}>;
    slots: {
        default?(_: {}): any;
    };
    refs: {};
    rootEl: HTMLFormElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<FormProps, {
    validate: typeof validate;
    validateField: typeof validateField;
    resetFields: typeof resetFields;
    clearValidate: typeof clearValidate;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FormProps> & Readonly<{}>, {
    size: ComponentSize;
    disabled: boolean;
    inline: boolean;
    labelWidth: string | number;
    rules: FormRules;
    labelPosition: "left" | "top";
    scrollToError: boolean;
    validateOnRuleChange: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
