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

import { SelfServiceFlow } from "./helpers/types";
import { UserAuthFormAdditionalProps } from "./helpers/user-auth-form";
export declare type LoginSectionAdditionalProps = {
    forgotPasswordURL?: string;
    signupURL?: string;
    logoutURL?: string;
};
export declare type RegistrationSectionAdditionalProps = {
    loginURL?: string;
};
export declare type VerificationSectionAdditionalProps = {
    signupURL?: string;
};
export declare type RecoverySectionAdditionalProps = {
    loginURL?: string;
};
/**
 * @typedef {Object} UserAuthCardProps
 * @property {SelfServiceLoginFlow} flow - can be any of the login, registration, verification, recovery flows
 * @property {string} title - title of the user auth card
 * @property {"login" | "registration" | "verification" | "recovery"} flowType - specify the type of flow to render
 * @property {string} subtitle - subtitle of the user auth card, usually used to display additional information
 * @property {string | React.ReactElement} - an image to display on the card header (usually a logo)
 * @property {LoginSectionAdditionalProps | RegistrationSectionAdditionalProps | RecoverySectionAdditionalProps | VerificationSectionAdditionalProps} additionalProps - additional props to pass to the form
 */
export declare type UserAuthCardProps = {
    flow: SelfServiceFlow;
    title: string;
    flowType: "login" | "registration" | "recovery" | "verification";
    additionalProps: LoginSectionAdditionalProps | RegistrationSectionAdditionalProps | RecoverySectionAdditionalProps | VerificationSectionAdditionalProps;
    subtitle?: string;
    cardImage?: string | React.ReactElement;
    includeScripts?: boolean;
    className?: string;
    children?: string;
} & UserAuthFormAdditionalProps;
/**
 *
 * @param {{flow: SelfServiceFlow, title: string, flowType: "login" | "registration" | "recovery" | "verification", additionalProps: LoginSectionAdditionalProps | RegistrationSectionAdditionalProps | RecoverySectionAdditionalProps | VerificationSectionAdditionalProps, subtitle?: string, cardImage?: string | React.ReactElement, includeScripts?: boolean, className?: string, children?: string}} UserAuthCardProps
 * @returns
 */
export declare const UserAuthCard: ({ flow, title, subtitle, flowType, additionalProps, cardImage, onSubmit, includeScripts, className, }: UserAuthCardProps) => JSX.Element;
//# sourceMappingURL=user-auth-card.d.ts.map