import { BglFormSchemaT, Path } from '../..';
import { MaybeRefOrGetter } from 'vue';
declare const _default: <T extends {
    [key: string]: any;
}, P extends Path<T>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
    props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
        readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
    } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & {
        modelValue?: T;
        schema?: MaybeRefOrGetter<BglFormSchemaT<T>>;
        tag?: "form" | "template";
        class?: string;
        onSubmit?: (data: T) => Promise<unknown> | unknown;
    } & Partial<{}>> & import('vue').PublicProps;
    expose(exposed: import('vue').ShallowUnwrapRef<{
        form: import('vue').Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
        isDirty: import('vue').ComputedRef<boolean>;
        validateForm: () => boolean;
        checkValidity: () => boolean;
    }>): void;
    attrs: any;
    slots: {
        default?(_: {}): any;
        submit?(_: {
            submit: () => Promise<void>;
            isDirty: boolean;
            validateForm: () => boolean;
            formState: "error" | "success" | "idle" | "submitting";
        }): any;
        success?(_: {}): any;
        error?(_: {
            error: Error | undefined;
        }): any;
    };
    emit: (e: "update:modelValue", value: T) => void;
}>) => import('vue').VNode & {
    __ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
type __VLS_PrettifyLocal<T> = {
    [K in keyof T]: T[K];
} & {};
//# sourceMappingURL=BagelForm.vue.d.ts.map