import { RequestClient, MultiStatusResponse } from '@segment/actions-core';
import { Settings } from './generated-types';
import { Payload } from './syncAudience/generated-types';
import { Audience } from './types';
export declare const API_VERSION = "v1";
export declare const Success: {
    status: number;
    body: string;
};
export declare const Errors: Record<string, string>;
export default class OrttoClient {
    request: RequestClient;
    constructor(request: RequestClient);
    testAuth: (settings: Settings) => Promise<import("@segment/actions-core").ModifiedResponse<unknown>>;
    createAudience: (settings: Settings, audienceName: string) => Promise<Audience>;
    getAudience: (settings: Settings, audienceId: string) => Promise<Audience>;
    syncAudience: (settings: Settings, payloads: Payload[]) => Promise<MultiStatusResponse>;
    private getEndpoint;
}
