export declare const getEmailFromPath: (path: string) => { file: string; type: string; } | undefined; interface IAttachment { content: string; filename: string; type: string; } export interface IEmailRequest { from: string; to: string; subject: string; html: string; cc?: string; bcc?: string; attachments?: IAttachment[]; } interface IEmailConfig { apiKey: string; providerName: string; mailgunDomain?: string; mailgunHostRegion?: string; } export interface IMailRequest { configuration: IEmailConfig; request: IEmailRequest; } export interface IMissingConfig { NETLIFY_EMAILS_SECRET?: boolean; NETLIFY_EMAILS_PROVIDER?: boolean; NETLIFY_EMAILS_PROVIDER_API_KEY?: boolean; NETLIFY_EMAILS_MAILGUN_HOST_REGION?: boolean; NETLIFY_EMAILS_MAILGUN_DOMAIN?: boolean; } export interface IRenderRequest { template: string; siteId: string; type: string; showParameterDictionary: boolean; parameters: { [key: string]: string | string[]; }; } declare const _default: (req: Request) => Promise; export default _default;