import { Payload as TrackPayload } from './trackEvent/generated-types';
import { Payload as IdentifyUserPayload } from './identifyUser/generated-types';
import { Payload as GroupUserPayload } from './groupUser/generated-types';
import { Payload as TrackPageViewPayload } from './trackPageView/generated-types';
type AllPayloads = TrackPayload | IdentifyUserPayload | GroupUserPayload | TrackPageViewPayload;
export declare function flattenPayload<T>(payload: AllPayloads): T;
export declare function flattenPayloadBatch<T>(payloads: AllPayloads[]): T[];
export {};
