import type { Datasources } from './update-typings';
import type { CodeCustomizationDetails, Log } from '../types';
export default class HttpServer {
    private readonly serverUrl;
    private readonly headers;
    constructor(serverUrl: string, secretKey: string, bearerToken: string);
    static downloadCloudCustomizerTemplate(destination: string): Promise<void>;
    getDatasources(): Promise<Datasources>;
    postUploadRequest(contentLength: number): Promise<{
        url: string;
        fields: Record<string, string>;
    }>;
    postPublish(): Promise<{
        subscriptionId: string;
    }>;
    getLastPublishedCodeDetails(): Promise<CodeCustomizationDetails>;
    getLogs({ limit, from, to, orderByRecentFirst, }: {
        limit: number;
        from: string;
        to: string;
        orderByRecentFirst: boolean;
    }): Promise<Log[]>;
    static getLatestVersion(packageName: string): Promise<string>;
    getOrCreateNewDevelopmentEnvironment(): Promise<{
        data: {
            attributes: {
                secret_key: string;
            };
        };
    }>;
}
//# sourceMappingURL=http-server.d.ts.map