import { Payload } from './generated-types';
import { Identifiers, ProfileAttributes, BatchJSON, EventAttributes, MultiStatusResponseJSON } from './type';
import { MultiStatusResponse } from '@segment/actions-core';
export declare function mapPayload(payload: Payload): BatchJSON;
export declare function formatAttributes(attributes: Record<string, unknown>, allowObjects: true): EventAttributes;
export declare function formatAttributes(attributes: Record<string, unknown>, allowObjects?: false): ProfileAttributes;
export declare function formatIdentifiers(identifiers: Payload['identifiers']): Identifiers;
export declare function handleMultiStatusResponse(response: MultiStatusResponseJSON, payloads: Payload[], json: BatchJSON[]): MultiStatusResponse;
