// Copyright © 2023 Ory Corp
// SPDX-License-Identifier: Apache-2.0

import { UpdateLoginFlowBody, UpdateRecoveryFlowBody, UpdateRegistrationFlowBody, UpdateSettingsFlowBody, UpdateVerificationFlowBody } from "@ory/client";
import { FilterNodesByGroups } from "@ory/integrations/ui";
import { SelfServiceFlow } from "./types";
export declare 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;
//# sourceMappingURL=user-auth-form.d.ts.map