import { RequestClient, MultiStatusResponse } from '@segment/actions-core';
import { Payload } from './generated-types';
import { Settings } from '../generated-types';
import { RequestJSON } from './types';
export declare function send(request: RequestClient, payloads: Payload[], settings: Settings, isBatch: boolean): Promise<MultiStatusResponse | undefined>;
export declare function sendRequest(request: RequestClient, map: Map<number, Payload>, settings: Settings, msResponse: MultiStatusResponse, isBatch: boolean, action: 'add' | 'remove'): Promise<void>;
export declare function getJSON(payloads: Payload[], settings: Settings, action: 'add' | 'remove'): RequestJSON;
