import { RequestClient, ModifiedResponse } from '@segment/actions-core';
import { Settings } from './generated-types';
import { Payload } from './syncAudience/generated-types';
export interface DROP_ENDPOINT_API_RESPONSE {
    ReferenceId: string;
    Url: string;
}
export interface Segments {
    CrmDataId: string;
    SegmentName: string;
    Region: string;
    FirstPartyDataId: number;
}
export interface GET_CRMS_API_RESPONSE {
    Segments: [
        {
            CrmDataId: string;
            SegmentName: string;
            Region: string;
            FirstPartyDataId: number;
        }
    ];
    PagingToken: string;
}
export interface CREATE_API_RESPONSE {
    CrmDataId: string;
    FirstPartyDataId: number;
}
interface ProcessPayloadInput {
    request: RequestClient;
    settings: Settings;
    payloads: Payload[];
    features?: Record<string, boolean>;
}
export declare const TTD_LEGACY_FLOW_FLAG_NAME = "actions-the-trade-desk-crm-legacy-flow";
export declare const TTD_LIST_ACTION_FLOW_FLAG_NAME = "ttd-list-action-destination";
export declare function processPayload(input: ProcessPayloadInput): Promise<ModifiedResponse<unknown>>;
export declare const hash: (value: string) => string;
export declare function getAllDataSegments(request: RequestClient, advertiserId: string, authToken: string): Promise<Segments[]>;
export {};
