import { EpVNodeProp } from '@yanzhen-libs/utils-vue';
import { NamePath } from 'ant-design-vue/es/form/interface';
import { ComponentPublicInstance, SetupContext } from 'vue';
import { FormEmits, FormProps } from './form';
export declare function useForm(props: FormProps, emit: SetupContext<FormEmits>['emit']): readonly [{
    readonly _ref: import('vue').Ref<ComponentPublicInstance, ComponentPublicInstance>;
    readonly proxyProps: import('vue').ComputedRef<Partial<FormProps>>;
    readonly onValidate: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
    readonly exposeCtx: {
        resetFields: (newValues?: import('ant-design-vue/es/form/useForm').Props) => void;
        clearValidate: (names?: NamePath) => void;
        scrollToField: (name: NamePath, options?: {}) => void;
        validateFields(nameList?: NamePath[]): Promise<void>;
    };
}, (props: EpVNodeProp<Partial<FormProps>>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
    [key: string]: any;
}>];
