export declare class ApiError extends Error { readonly statusCode: number | undefined; constructor(message: string, statusCode: number | undefined); } export interface ApiClientOptions { apiKey: string; orchestratorUrl?: string; } export interface ContainerInfo { id: string; appName: string; machineId: string; status: string; } export interface StatusInfo { id: string; appName: string; machineId: string; status: string; machineState: string; metadata: Record; } export interface ExecResult { stdout: string; stderr: string; exitCode: number; } export interface GoLiveResult { publicUrl: string; } export declare class ApiClient { private client; constructor(opts: ApiClientOptions); createContainer(): Promise; getStatus(id: string): Promise; upload(id: string, tarBuffer: Buffer): Promise; exec(id: string, command: string[], timeout?: number): Promise; start(id: string, entrypoint?: string): Promise; restart(id: string): Promise; goLive(id: string, mode?: string): Promise; updateEndpointUrl(agentId: number, agentApiKey: string, endpointUrl: string): Promise; private request; } //# sourceMappingURL=api-client.d.ts.map