import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { EmailGetSendResultOptionalParams, EmailGetSendResultResponse, EmailMessage, EmailSendOptionalParams, EmailSendResponse } from "../models/index.js"; /** Interface representing a Email. */ export interface Email { /** * Gets the status of the email send operation. * @param operationId ID of the long running operation (GUID) returned from a previous call to send * email * @param options The options parameters. */ getSendResult(operationId: string, options?: EmailGetSendResultOptionalParams): Promise; /** * Queues an email message to be sent to one or more recipients * @param message Message payload for sending an email * @param options The options parameters. */ beginSend(message: EmailMessage, options?: EmailSendOptionalParams): Promise, EmailSendResponse>>; /** * Queues an email message to be sent to one or more recipients * @param message Message payload for sending an email * @param options The options parameters. */ beginSendAndWait(message: EmailMessage, options?: EmailSendOptionalParams): Promise; } //# sourceMappingURL=email.d.ts.map