import { KuzzleRequest, EmbeddedSDK, JSONObject, PluginContext, ControllerDefinition } from "kuzzle"; import { SendgridClient } from "../messenger-clients"; export declare class SendgridController { private context; private config; private sendgridClient; definition: ControllerDefinition; get sdk(): EmbeddedSDK; constructor(config: JSONObject, context: PluginContext, sendgridClient: SendgridClient); sendEmail(request: KuzzleRequest): Promise; sendTemplatedEmail(request: KuzzleRequest): Promise; addAccount(request: KuzzleRequest): Promise; removeAccount(request: KuzzleRequest): Promise; listAccounts(): Promise<{ accounts: { name: string; options: JSONObject; }[]; }>; }