import type { Plugin } from '@strapi/types';
export interface EmailConfig extends Record<string, unknown> {
    provider: string;
    providerOptions?: object;
    settings?: {
        defaultFrom?: string;
    };
}
type LoadedPluginConfig = Plugin.LoadedPlugin['config'];
export interface StrapiConfig extends LoadedPluginConfig {
    default: EmailConfig;
}
export interface EmailTemplateData {
    url?: string;
    user?: {
        email: string;
        firstname: string;
        lastname: string;
        username: string;
    };
}
export interface EmailOptions {
    from?: string;
    to: string;
    cc?: string;
    bcc?: string;
    replyTo?: string;
    [key: string]: string | undefined;
}
export interface EmailTemplate {
    subject: string;
    text: string;
    html?: string;
    [key: string]: string | undefined;
}
export type SendOptions = EmailOptions & EmailTemplate;
export {};
//# sourceMappingURL=types.d.ts.map