export type ActivityDeliveryFailure = { email: string; error: string; }; export type ActivityNotificationStatus = "delivered" | "delivery-failed" | "email-not-configured" | "no-recipients" | "notification-error"; export type ActivityNotificationResult = { status: ActivityNotificationStatus; sent: string[]; failed: ActivityDeliveryFailure[]; error?: string; }; export interface ResolveActivityRecipientsInput { candidates: (string | null | undefined)[]; actorEmail?: string | null; preferenceKey: string; preferenceField?: string; } export declare function resolveActivityRecipients({ candidates, actorEmail, preferenceKey, preferenceField, }: ResolveActivityRecipientsInput): Promise; export interface NotifyActivityInput extends ResolveActivityRecipientsInput { send: (to: string) => Promise; logLabel?: string; } export declare function notifyActivity({ send, logLabel, ...resolve }: NotifyActivityInput): Promise; export declare function runActivityNotification(logLabel: string, resolve: () => Promise): Promise;