import { DeleteDTO } from '@hed-hog/api';
import { CreateDTO } from './dto/create.dto';
import { UpdateDTO } from './dto/update.dto';
import { MailProfileService } from './mail-profile.service';
export declare class MailProfileController {
    private readonly mailProfileService;
    constructor(mailProfileService: MailProfileService);
    list(paginationParams: any): Promise<{
        total: any;
        lastPage: number;
        page: number;
        pageSize: number;
        prev: number;
        next: number;
        data: any[];
    }>;
    get(id: number): Promise<{
        name: string;
        id: number;
        provider: import("@prisma/client").$Enums.mail_profile_provider_e62e6be632_enum;
        created_at: Date;
        updated_at: Date;
        slug: string;
        from_email: string;
        from_name: string | null;
        reply_to_name: string | null;
        reply_to_email: string | null;
        smtp_host: string | null;
        smtp_port: number | null;
        smtp_secure: boolean;
        smtp_username: string | null;
        smtp_password: string | null;
        gmail_client_id: string | null;
        gmail_client_secret: string | null;
        gmail_refresh_token: string | null;
        ses_access_key_id: string | null;
        ses_secret_access_key: string | null;
        ses_region: string | null;
    }>;
    create(data: CreateDTO): Promise<{
        name: string;
        id: number;
        provider: import("@prisma/client").$Enums.mail_profile_provider_e62e6be632_enum;
        created_at: Date;
        updated_at: Date;
        slug: string;
        from_email: string;
        from_name: string | null;
        reply_to_name: string | null;
        reply_to_email: string | null;
        smtp_host: string | null;
        smtp_port: number | null;
        smtp_secure: boolean;
        smtp_username: string | null;
        smtp_password: string | null;
        gmail_client_id: string | null;
        gmail_client_secret: string | null;
        gmail_refresh_token: string | null;
        ses_access_key_id: string | null;
        ses_secret_access_key: string | null;
        ses_region: string | null;
    }>;
    test(data: CreateDTO): Promise<{
        success: boolean;
        destination: string;
    }>;
    update(id: number, data: UpdateDTO): Promise<{
        name: string;
        id: number;
        provider: import("@prisma/client").$Enums.mail_profile_provider_e62e6be632_enum;
        created_at: Date;
        updated_at: Date;
        slug: string;
        from_email: string;
        from_name: string | null;
        reply_to_name: string | null;
        reply_to_email: string | null;
        smtp_host: string | null;
        smtp_port: number | null;
        smtp_secure: boolean;
        smtp_username: string | null;
        smtp_password: string | null;
        gmail_client_id: string | null;
        gmail_client_secret: string | null;
        gmail_refresh_token: string | null;
        ses_access_key_id: string | null;
        ses_secret_access_key: string | null;
        ses_region: string | null;
    }>;
    delete(data: DeleteDTO): Promise<{
        count: number;
    }>;
}
//# sourceMappingURL=mail-profile.controller.d.ts.map