import { UpdateLoginFlowBody, UpdateRecoveryFlowBody, UpdateRegistrationFlowBody, UpdateSettingsFlowBody, UpdateVerificationFlowBody } from "@ory/client";
import { FilterNodesByGroups } from "@ory/integrations/ui";
import { JSX } from './preact/compat';
import { SelfServiceFlow } from "./types";
export type UserAuthFormAdditionalProps = {
    onSubmit?: ({ body, event, }: {
        body: UpdateLoginFlowBody | UpdateRegistrationFlowBody | UpdateRecoveryFlowBody | UpdateVerificationFlowBody | UpdateSettingsFlowBody;
        event?: React.FormEvent<HTMLFormElement>;
    }) => void;
};
export interface UserAuthFormProps extends Omit<React.FormHTMLAttributes<HTMLFormElement>, "onSubmit">, UserAuthFormAdditionalProps {
    flow: SelfServiceFlow;
    children: React.ReactNode;
    formFilterOverride?: FilterNodesByGroups;
    submitOnEnter?: boolean;
    className?: string;
}
export declare const UserAuthForm: ({ flow, children, submitOnEnter, onSubmit, formFilterOverride, className, ...props }: UserAuthFormProps) => JSX.Element;
