import { Payload } from './syncAudiences/generated-types';
import { MultiStatusResponse, RequestClient, HTTPError, ModifiedResponse } from '@segment/actions-core';
import { SyncAudiencePayload, Action, Identifier } from './types';
export declare const hashEmail: (item: string) => string;
export declare const categorizePayloadByAction: (payload: Payload[], addMap: Map<string, number[]>, removeMap: Map<string, number[]>) => void;
export declare const preparePayload: (audienceId: string, action: Action, identifierType: Identifier, listItems: string[]) => SyncAudiencePayload;
export declare const sendDataToMicrosoftBingAds: (request: RequestClient, payload: SyncAudiencePayload) => Promise<ModifiedResponse<unknown>>;
export declare const handleMultistatusResponse: (msResponse: MultiStatusResponse, response: ModifiedResponse, items: string[], listItemsMap: Map<string, number[]>, payload: Payload[], isBatch: boolean) => void;
export declare const handleHttpError: (msResponse: MultiStatusResponse, error: HTTPError, listItemsMap: Map<string, number[]>, payload: Payload[]) => Promise<void>;
