import { RequestClient, ModifiedResponse } from '@segment/actions-core';
import { Payload as AddUserPayload } from './addUser/generated-types';
import { Payload as AddToAudiencePayload } from './addToAudience/generated-types';
import { Payload as RemoveUserPayload } from './removeUser/generated-types';
import { Payload as CreateAudiencePayload } from './createAudience/generated-types';
import { Settings } from './generated-types';
import { CreateAudienceAPIResponse } from './types';
import { AudienceSettings } from './generated-types';
type LegacyPayload = AddUserPayload | RemoveUserPayload;
type GenericPayload = LegacyPayload | AddToAudiencePayload;
type GenericSettings = Settings | AudienceSettings;
export declare function processPayload(request: RequestClient, settings: GenericSettings, payloads: GenericPayload[], action: string): Promise<ModifiedResponse<unknown>>;
export declare function createAudience(request: RequestClient, payload: CreateAudiencePayload): Promise<ModifiedResponse<CreateAudienceAPIResponse>>;
export declare function validate(payloads: GenericPayload[]): void;
export declare function getIDSchema(payload: GenericPayload): string[];
export declare function extractUsers(payloads: GenericPayload[]): {}[][];
export {};
