import { InstanceOptions, RequestTracingConfig } from '../../HttpClient'; import { IOContext } from '../../service/worker/runtime/typings'; import { InfraClient } from './InfraClient'; export declare class Workspaces extends InfraClient { constructor(context: IOContext, options?: InstanceOptions); list: (account: string, tracingConfig?: RequestTracingConfig) => Promise; get: (account: string, workspace: string, tracingConfig?: RequestTracingConfig) => Promise; set: (account: string, workspace: string, metadata: Partial, tracingConfig?: RequestTracingConfig) => Promise; create: (account: string, workspace: string, production: boolean, tracingConfig?: RequestTracingConfig) => Promise; delete: (account: string, workspace: string, tracingConfig?: RequestTracingConfig) => Promise>; reset: (account: string, workspace: string, metadata?: Partial, tracingConfig?: RequestTracingConfig) => Promise; promote: (account: string, workspace: string, tracingConfig?: RequestTracingConfig) => Promise; } export interface WorkspaceMetadata { name: string; weight: number; production: boolean; }