import { ResponseError, type Response } from '@sendgrid/helpers/classes';
import { type MailApi, type MarketingApi } from './types';
import { type ActivityEvent } from '@awell-health/extensions-core';
export declare class SendgridClient {
    private readonly _sendgridClient;
    private readonly _mailService;
    constructor({ apiKey }: {
        apiKey: string;
    });
    readonly mail: MailApi;
    readonly marketing: MarketingApi;
    readonly groups: {
        readonly suppressions: {
            readonly add: (groupId: string, email: string) => Promise<[Response<{
                recipient_emails: string[];
            }>, {
                recipient_emails: string[];
            }]>;
            readonly remove: (groupId: string, email: string) => Promise<[Response<any>, any]>;
        };
    };
}
export declare const mapSendgridErrorsToActivityErrors: (error: ResponseError) => ActivityEvent[];
export { ResponseError };
