import { Client } from '../client';
import { CachableList, PayloadWithFromId, PayloadListType } from '../types';
import { StatsContext } from '@segment/actions-core';
import { SubscriptionMetadata } from '@segment/actions-core/destination-kit';
import { Payload } from '../generated-types';
export declare function getListName(payload: Payload): string | undefined;
export declare function getListPayloadType(payload: Payload): PayloadListType;
export declare function ensureList(client: Client, objectType: string, name?: string, shouldCreateList?: boolean, subscriptionMetadata?: SubscriptionMetadata, statsContext?: StatsContext): Promise<CachableList | undefined>;
export declare function sendLists(client: Client, cachableList: CachableList, fromRecordPayloads: PayloadWithFromId[]): Promise<void>;
