///
import { ProjectConfig } from './project';
export interface UploadSettings {
filename?: string;
mimeType?: string;
}
export declare class HttpApi {
private readonly projectConfig;
constructor(projectConfig: ProjectConfig);
private fetchApi;
private apiFetchJson;
private apiFetchBinary;
get(path: string): Promise;
download(path: string): Promise;
post(path: string, body: any): Promise;
upload(path: string, buffer: Buffer, settings?: UploadSettings): Promise;
}