/// import { ReadStream } from 'fs'; import { DotenvParseOutput } from '@cubejs-backend/dotenv'; export type AuthObject = { auth: string; url?: string; deploymentId?: string; }; export interface StartUploadResponse { transaction: string; deploymentName: string; } export interface UpstreamHashesResponse { [key: string]: { hash: string; }; } export declare class CubeCloudClient { protected readonly auth?: AuthObject | undefined; protected readonly livePreview?: boolean | undefined; constructor(auth?: AuthObject | undefined, livePreview?: boolean | undefined); private request; getDeploymentsList({ auth }?: { auth?: AuthObject; }): Promise; getDeploymentToken(authToken: string): Promise; private extendRequestByLivePreview; getUpstreamHashes({ auth }?: { auth?: AuthObject; }): Promise; startUpload({ auth }?: { auth?: AuthObject; }): Promise; uploadFile({ transaction, fileName, data, auth }: { transaction: any; fileName: string; data: ReadStream; auth?: AuthObject; }): Promise; finishUpload({ transaction, files, auth }: { transaction: any; files: any; auth?: AuthObject; }): Promise; setEnvVars({ envVariables, auth, replaceEnv }: { envVariables: DotenvParseOutput; auth?: AuthObject; replaceEnv?: boolean; }): Promise; getStatusDevMode({ auth, lastHash }?: { auth?: AuthObject; lastHash?: string; }): Promise<{ [key: string]: any; }>; createTokenDevMode({ auth, payload }?: { auth?: AuthObject; payload?: Record; }): Promise; } //# sourceMappingURL=cloud.d.ts.map