import type { Core } from '@strapi/strapi'; import type { NotificationConfig } from '../validation/notification'; export interface NotificationContext { form: { slug: string; name: string; notifications: NotificationConfig; }; submissionId: string; receivedAt: string; fields: Readonly>; } export interface Delivery { channel: 'email' | 'webhook' | 'afterSave'; status: 'sent' | 'failed'; attempts: number; lastError: string | null; sentAt: string | null; } declare const notification: ({ strapi }: { strapi: Core.Strapi; }) => { send(context: NotificationContext, record?: (delivery: Delivery) => Promise): Promise; }; export default notification; //# sourceMappingURL=notification.d.ts.map