import type { Core } from '@strapi/strapi'; import type { FormField } from './form'; export interface NotificationConfig { email?: { to: string[]; cc?: string[]; replyToField?: string; subject: string; body: string; }; webhook?: { url: string; secret?: string; headers?: Record; }; } export declare const SECRET_MASK = "********"; export declare function validateNotifications(value: unknown, fields: FormField[]): NotificationConfig; interface Encryption { encrypt(value: string): string | null; decrypt(value: string): string | null; } export declare function encryption(strapi: Core.Strapi): Encryption; export declare function protectNotifications(strapi: Core.Strapi, config: NotificationConfig, previous?: NotificationConfig): NotificationConfig; /** Apply at every admin response boundary, including delete and export. */ export declare function maskNotificationSecrets(value: unknown): unknown; export {}; //# sourceMappingURL=notification.d.ts.map