import { Command } from "@oclif/core"; import { type DevkitResult } from "openxiangda-contracts"; import { OpenXiangdaApplicationServices, type OperationProgress } from "openxiangda-devkit-core"; export declare const workspaceFlags: { cwd: import("@oclif/core/interfaces").OptionFlag; }; export declare const studioEventFlags: { "json-events": import("@oclif/core/interfaces").BooleanFlag; "run-id": import("@oclif/core/interfaces").OptionFlag; }; export declare const studioWorkspaceFlags: { "json-events": import("@oclif/core/interfaces").BooleanFlag; "run-id": import("@oclif/core/interfaces").OptionFlag; cwd: import("@oclif/core/interfaces").OptionFlag; }; export declare abstract class OpenXiangdaCommand extends Command { static enableJsonFlag: boolean; protected readonly services: OpenXiangdaApplicationServices; private studioEventStream?; private studioEventStarted; protected catch(error: Error & { exitCode?: number; }): Promise; protected present(result: DevkitResult): DevkitResult | { schemaVersion: "openxiangda.cli-result/v2"; ok: boolean; operation: string; workspace: import("openxiangda-contracts").WorkspaceIdentity | { appCode: string; name: string | undefined; }; data: {} | null; error: { details?: Record; pointer?: string; code: string; message: string; retryable: boolean; remediation: string; nextCommand: string | null; } | null; } | undefined; protected machineOutputEnabled(): boolean; protected beginStudioEvents(operation?: string): void; protected emitStudioStatus(message: string, details?: Record): void; protected presentOperationProgress(event: OperationProgress): void; protected toErrorJson(error: unknown): { schemaVersion: "openxiangda.cli-result/v2"; ok: boolean; operation: string; workspace: null; data: null; error: { details?: Record; pointer?: string; code: string; message: string; retryable: boolean; remediation: string; nextCommand: string; }; }; private envelope; private studioEventsEnabled; private studioRunId; private errorNextCommand; } //# sourceMappingURL=base.d.ts.map