import type { Settings } from './generated-types';
import type { RequestClient } from '@segment/actions-core';
import { DynamicFieldResponse } from '@segment/actions-core';
export declare const API_HOST = "https://api.emarsys.net";
export declare const API_PATH = "/api/v2/";
export declare const API_BASE = "https://api.emarsys.net/api/v2/";
export interface TriggerEventData {
    [k: string]: unknown;
}
export interface BufferBatchTriggerEventItem {
    event_id: number;
    key_id: string;
    keys: {
        external_id: string;
        data?: TriggerEventData;
    }[];
}
export interface TriggerEventApiPayload {
    key_id: string;
    external_id: string;
    data?: TriggerEventData;
}
export interface TriggerEventsApiPayload {
    key_id: string;
    contacts: {
        external_id: string;
        data?: TriggerEventData;
    }[];
}
export interface BufferBatchTriggerEvent {
    [k: string]: BufferBatchTriggerEventItem;
}
export interface ContactListApiPayload {
    contactlistid?: number;
    key_id: string;
    external_ids: string[];
}
export interface BufferBatchContactListItem {
    contactlistid: number;
    key_id: string;
    external_ids: string[];
}
export interface BufferBatchContactList {
    [k: string]: BufferBatchContactListItem;
}
export interface ContactData {
    [k: string]: unknown;
}
export interface BufferBatchContactItem {
    key_id: string;
    contacts: ContactData[];
}
export interface BufferBatchContacts {
    [k: string]: BufferBatchContactItem;
}
export interface ContactsApiPayload {
    key_id: string;
    contacts: ContactData[];
}
export declare const createWsseHeader: (settings: Settings) => string;
export declare const getEvents: (request: RequestClient) => Promise<DynamicFieldResponse>;
export declare const getFields: (request: RequestClient) => Promise<DynamicFieldResponse>;
export declare const getContactLists: (request: RequestClient) => Promise<DynamicFieldResponse>;
