///
import { WildduckClientComponent } from "../../client-component";
import { IWildduckApiDeleteMessagesInMailboxResponse, IWildduckApiForwardStoredMessageRequest, IWildduckApiForwardStoredMessageResponse, IWildduckApiGetMessageResponse, IWildduckApiGetMessagesResponse, IWildduckApiSearchMessagesResponse, IWildduckApiSubmitStoredMessageRequest, IWildduckApiSubmitStoredMessageResponse, IWildduckApiSuccessResponse, IWildduckApiUpdateMessageRequest, IWildduckApiUpdateMessageResponse, IWildduckApiUploadMessageRequest, IWildduckApiUploadMessageResponse } from "../../client-schema";
import { IWildduckApiDeleteMessagesInMailboxOptions, IWildduckApiGetMessageOptions, IWildduckApiGetMessagesOptions, IWildduckApiSearchMessagesOptions } from "./messages.interface";
export declare class WildduckMessagesService extends WildduckClientComponent {
deleteMessage(user: string, mailbox: string, message: number): Promise;
getMessage(user: string, mailbox: string, message: number, options?: Partial): Promise;
deleteMessagesInMailbox(user: string, mailbox: string, options?: Partial): Promise;
getMessagesInMailbox(user: string, mailbox: string, options?: Partial): Promise;
updateMessage(user: string, mailbox: string, dto: IWildduckApiUpdateMessageRequest): Promise;
uploadMessage(user: string, mailbox: string, dto: IWildduckApiUploadMessageRequest): Promise;
forwardMessage(user: string, mailbox: string, message: string, dto: IWildduckApiForwardStoredMessageRequest): Promise;
downloadAttachment(user: string, mailbox: string, message: string, attachment: string): Promise;
getMessageSource(user: string, mailbox: string, message: string): Promise;
deleteOutboundMessage(user: string, queueId: string): Promise;
searchMessages(user: string, options?: Partial): Promise;
searchAndUpdateMessages(user: string, dto: any, options?: Partial): Promise;
submitDraftForDelivery(user: string, mailbox: string, message: string, dto: IWildduckApiSubmitStoredMessageRequest): Promise;
}