import { AccountLoginTokenMailDtoV1, AccountPasswordResetMailDtoV1, EventUserCancellationMailDtoV1, EventUserRegistrationMailDtoV1, IdeaStatusUpdateMailDtoV1, IdeaSubmittedMailDtoV1, LunchRouletteCancellationMailDtoV1, LunchRouletteMatchedMailDtoV1, LunchRouletteRegistrationMailDtoV1, LunchRouletteUnmatchedMailDtoV1, NewsletterIssueMailDtoV1, NewsletterSubscribedMailDtoV1, NewsletterUnsubscribedMailDtoV1, NotificationMailDtoV1 } from './dtos'; /** * Constant list of supported mail types. */ declare const supportedMailTypes: readonly ["v1.account.login-token", "v1.account.password-reset", "v1.event.user-registration", "v1.event.user-cancellation", "v1.idea.submitted", "v1.idea.status-update", "v1.lunch-roulette.registration", "v1.lunch-roulette.cancellation", "v1.lunch-roulette.matched", "v1.lunch-roulette.unmatched", "v1.newsletter.subscribed", "v1.newsletter.unsubscribed", "v1.newsletter.issue", "v1.notification.notification"]; /** * Union type representing valid mail kinds. */ export type MailType = (typeof supportedMailTypes)[number]; /** * Maps each supported mail type to its corresponding DTO. * This enables type-safe payload handling when creating passes. */ export type MailTypeDtoMap = { 'v1.account.login-token': AccountLoginTokenMailDtoV1; 'v1.account.password-reset': AccountPasswordResetMailDtoV1; 'v1.event.user-registration': EventUserRegistrationMailDtoV1; 'v1.event.user-cancellation': EventUserCancellationMailDtoV1; 'v1.idea.submitted': IdeaSubmittedMailDtoV1; 'v1.idea.status-update': IdeaStatusUpdateMailDtoV1; 'v1.lunch-roulette.registration': LunchRouletteRegistrationMailDtoV1; 'v1.lunch-roulette.cancellation': LunchRouletteCancellationMailDtoV1; 'v1.lunch-roulette.matched': LunchRouletteMatchedMailDtoV1; 'v1.lunch-roulette.unmatched': LunchRouletteUnmatchedMailDtoV1; 'v1.newsletter.subscribed': NewsletterSubscribedMailDtoV1; 'v1.newsletter.unsubscribed': NewsletterUnsubscribedMailDtoV1; 'v1.newsletter.issue': NewsletterIssueMailDtoV1; 'v1.notification.notification': NotificationMailDtoV1; }; export declare const MailTypeEndpointMap: Record; export {};