import { RequestService, APIResponse } from "../../services/request.service"; import { BlockListQueryParams, BlockListRecipients, BlockListRecipientsPost, BlockListType, OnHoldListQueryParams, RecipientsQueryParams } from "../../models"; export declare class RecipientModule extends RequestService { constructor(apiKey: string, baseUrl: string); list(queryParams?: RecipientsQueryParams): Promise; single(recipientId: string): Promise; delete(recipientId: string): Promise; blockList(queryParams?: BlockListQueryParams, type?: BlockListType.BLOCK_LIST | BlockListType.HARD_BOUNCES_LIST | BlockListType.SPAM_COMPLAINTS_LIST | BlockListType.UNSUBSCRIBES_LIST): Promise; blockList(queryParams?: OnHoldListQueryParams, type?: BlockListType.ON_HOLD_LIST): Promise; blockRecipients(blockRecipients: BlockListRecipients, type?: BlockListType.BLOCK_LIST): Promise; blockRecipients(blockRecipients: BlockListRecipientsPost, type: BlockListType.HARD_BOUNCES_LIST | BlockListType.SPAM_COMPLAINTS_LIST | BlockListType.UNSUBSCRIBES_LIST): Promise; delBlockListRecipients(ids: string[], type?: BlockListType, domainId?: string): Promise; delAllBlockListRecipients(type?: BlockListType, domainId?: string): Promise; }