import { PropertyService, RemoteRequestService } from '@servicelabsco/nestjs-utility-services'; import { EmithookEmailBodyInterface } from '../interfaces/emithook.email.body.interface'; export interface EmithookMessagePageInterface { data: { id?: string; message_id?: string; received_at?: string; }[]; next_cursor?: string | null; } export interface EmithookAliasInterface { id: string; address: string; kind: string; localPart: string; domain: string; destinationIds: string[]; } export declare class EmithookService { private readonly propertyService; private readonly remoteRequestService; constructor(propertyService: PropertyService, remoteRequestService: RemoteRequestService); createAlias(localPart: string): Promise; verifyWebhookToken(token?: string): Promise; deleteAlias(aliasId: string): Promise; listMessages(alias: string, cursor?: string): Promise; getMessage(alias: string, messageId: string): Promise; getRaw(alias: string, messageId: string): Promise; getAttachment(alias: string, messageId: string, attachmentId: string | number): Promise; private request; private getRequiredProperty; }