import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; export declare class Messages extends ClientSDK { /** * List all messages * * @remarks * List all messages for the current environment. * This API supports filtering by **channel**, **subscriberId**, and **transactionId**. * This API returns a paginated list of messages. */ retrieve(request: operations.MessagesControllerGetMessagesRequest, options?: RequestOptions): Promise; /** * Delete a message * * @remarks * Delete a message entity from the Novu platform by **messageId**. * This action is irreversible. **messageId** is required and of mongodbId type. */ delete(messageId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Delete messages by transactionId * * @remarks * Delete multiple messages from the Novu platform using **transactionId** of triggered event. * This API supports filtering by **channel** and delete all messages associated with the **transactionId**. */ deleteByTransactionId(transactionId: string, channel?: operations.MessagesControllerDeleteMessagesByTransactionIdQueryParamChannel | undefined, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=messages.d.ts.map