export interface AutomationFailureNotificationInput { email: string; appId: string | null; automation: string; path: string; orgId: string | null; status: "error" | "interrupted"; error: string | null; errorCode: string | null; idempotencyKey?: string; unsubscribeToken?: string; } export type AutomationFailureNotificationResult = { status: "sent"; provider: "resend" | "sendgrid"; } | { status: "suppressed" | "not-ready"; } | { status: "retry" | "uncertain" | "failed"; provider: "resend" | "sendgrid"; }; interface AutomationFailureNotificationOptions { onProviderReady?: (provider: "resend" | "sendgrid") => Promise; } export declare function createAutomationFailureUnsubscribeToken(email: string, appId: string | null): string; export declare function createAutomationFailureUnsubscribeHandler(): import("h3").EventHandlerWithFetch>; export declare function sendAutomationFailureNotification(input: AutomationFailureNotificationInput, options?: AutomationFailureNotificationOptions): Promise; export {};