import { ReactNode } from 'react'; import { EmailClassNames, EmailColors } from './email-styles'; declare const organizationInvitationEmailLocalization: { YOU_RE_INVITED_TO_ORGANIZATION: string; YOU_RE_INVITED: string; LOGO: string; ORGANIZATION_LOGO: string; INVITED_TO_JOIN_ORGANIZATION: string; ACCEPT_INVITATION: string; VIEW_INVITATION: string; OR_COPY_AND_PASTE_URL: string; THIS_INVITATION_EXPIRES_IN_HOURS: string; EMAIL_SENT_BY: string; IF_YOU_DIDNT_EXPECT_THIS_INVITATION: string; POWERED_BY_BETTER_AUTH: string; }; /** * Localization strings for the OrganizationInvitationEmail component. * * Contains all text content used in the organization invitation email template. */ export type OrganizationInvitationEmailLocalization = typeof organizationInvitationEmailLocalization; /** * Props for the OrganizationInvitationEmail component. */ export interface OrganizationInvitationEmailProps { /** * URL where the invitee can review and accept the invitation. * * @remarks Pass `{baseUrl}/settings/organizations` — this is where pending * organization invitations are listed in the settings UI. */ url: string; /** Email address of the user being invited */ email?: string; /** Name of the person who sent the invitation */ inviterName?: string; /** Email address of the person who sent the invitation */ inviterEmail?: string; /** Name of the organization the user is being invited to */ organizationName?: string; /** Organization logo URL(s) - a single string or light/dark variants. */ organizationLogoURL?: string | { light: string; dark: string; }; /** Role being offered to the invitee (e.g. "member", "admin", "owner") */ role?: string; /** Name of the application sending the email */ appName?: string; /** Number of hours until the invitation expires */ expirationHours?: 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 `OrganizationInvitationEmailLocalization` */ localization?: Partial; } /** * Email template component that invites a user to join an organization. * * This email includes: * - Inviter and organization details * - Role being offered * - Accept invitation button linking to `{baseUrl}/settings/organizations` * - Fallback URL for manual copy/paste * - Optional expiration time information * - Security notice for unexpected invitations * - Customizable branding and styling * - Support for light/dark mode themes * * @example * ```tsx * * ``` */ export declare const OrganizationInvitationEmail: { ({ url, email, inviterName, inviterEmail, organizationName, organizationLogoURL, role, appName, expirationHours, logoURL, colors, classNames, darkMode, poweredBy, head, ...props }: OrganizationInvitationEmailProps): import("react").JSX.Element; localization: { YOU_RE_INVITED_TO_ORGANIZATION: string; YOU_RE_INVITED: string; LOGO: string; ORGANIZATION_LOGO: string; INVITED_TO_JOIN_ORGANIZATION: string; ACCEPT_INVITATION: string; VIEW_INVITATION: string; OR_COPY_AND_PASTE_URL: string; THIS_INVITATION_EXPIRES_IN_HOURS: string; EMAIL_SENT_BY: string; IF_YOU_DIDNT_EXPECT_THIS_INVITATION: string; POWERED_BY_BETTER_AUTH: string; }; PreviewProps: OrganizationInvitationEmailProps; }; export default OrganizationInvitationEmail;