import { MultiStatusResponse, RequestClient, StatsContext } from '@segment/actions-core';
import { Settings } from './generated-types';
import { Payload as AddToListPayload } from './addToList/generated-types';
import { Payload as RemoveFromListPayload } from './removeFromList/generated-types';
import { MarketoBulkImportResponse, MarketoDeleteLeadsResponse, CreateListInput } from './constants';
export declare function formatEndpoint(endpoint: string): string;
export declare function addToList(request: RequestClient, settings: Settings, payload: AddToListPayload, statsContext?: StatsContext, hookOutputs?: {
    id: string;
    name: string;
}): Promise<MarketoBulkImportResponse>;
export declare function addToListBatch(request: RequestClient, settings: Settings, payloads: AddToListPayload[], statsContext?: StatsContext, hookOutputs?: {
    id: string;
    name: string;
}): Promise<MultiStatusResponse>;
export declare function removeFromList(request: RequestClient, settings: Settings, payload: RemoveFromListPayload, statsContext?: StatsContext): Promise<MarketoDeleteLeadsResponse>;
export declare function removeFromListBatch(request: RequestClient, settings: Settings, payloads: RemoveFromListPayload[], statsContext?: StatsContext): Promise<MultiStatusResponse>;
export declare function getAccessToken(request: RequestClient, settings: Settings): Promise<string>;
export declare function getList(request: RequestClient, settings: Settings, id: string): Promise<{
    successMessage: string;
    savedData: {
        id: string;
        name: string;
    };
}>;
export declare function createList(request: RequestClient, input: CreateListInput, statsContext?: StatsContext): Promise<string>;
