import { ReactNode } from 'react'; import { EmailClassNames, EmailColors } from './email-styles'; declare const emailVerificationEmailLocalization: { VERIFY_YOUR_EMAIL_ADDRESS: string; LOGO: string; CLICK_BUTTON_TO_VERIFY_EMAIL: string; VERIFY_EMAIL_ADDRESS: string; OR_COPY_AND_PASTE_URL: string; THIS_LINK_EXPIRES_IN_MINUTES: string; EMAIL_SENT_BY: string; IF_YOU_DIDNT_REQUEST_THIS_EMAIL: string; POWERED_BY_BETTER_AUTH: string; }; /** * Localization strings for the EmailVerificationEmail component. * * Contains all text content used in the email verification email template. */ export type EmailVerificationEmailLocalization = typeof emailVerificationEmailLocalization; /** * Props for the EmailVerificationEmail component. */ export interface EmailVerificationEmailProps { /** Verification URL that users must click to verify their email */ url: string; /** Email address being verified */ email?: string; /** Name of the application sending the email */ appName?: string; /** Number of minutes until the verification link expires */ expirationMinutes?: number; /** Logo URL(s) - a single string or light/dark variants. If omitted, no logo is shown. */ logoURL?: string | { light: string; dark: string; }; /** Custom CSS class names for styling specific parts of the email */ classNames?: EmailClassNames; /** Custom color scheme for light and dark modes */ colors?: EmailColors; /** Whether to show the "Powered by better-auth" footer */ poweredBy?: boolean; /** Whether to enable dark mode support */ darkMode?: boolean; /** Additional React nodes to inject into the email head */ head?: ReactNode; /** * Localization overrides for customizing email text * @remarks `EmailVerificationEmailLocalization` */ localization?: Partial; } /** * Email template component that sends email verification links to users. * * This email includes: * - Verification button and fallback URL * - Expiration time information * - Security notice for unauthorized requests * - Customizable branding and styling * - Support for light/dark mode themes * * @example * ```tsx * * ``` */ export declare const EmailVerificationEmail: { ({ url, email, appName, expirationMinutes, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: EmailVerificationEmailProps): import("react").JSX.Element; /** * Default localization strings for the email verification template. * Can be overridden via the `localization` prop. */ localization: { VERIFY_YOUR_EMAIL_ADDRESS: string; LOGO: string; CLICK_BUTTON_TO_VERIFY_EMAIL: string; VERIFY_EMAIL_ADDRESS: string; OR_COPY_AND_PASTE_URL: string; THIS_LINK_EXPIRES_IN_MINUTES: string; EMAIL_SENT_BY: string; IF_YOU_DIDNT_REQUEST_THIS_EMAIL: string; POWERED_BY_BETTER_AUTH: string; }; /** * Example props for previewing the email template in development. */ PreviewProps: EmailVerificationEmailProps; }; export default EmailVerificationEmail;