export interface GoalCommandInput { root: string; command: string; sessionId: string; operationId?: string; expectedGoalGeneration?: string; objective?: string; reason?: string; turnId?: string; assistantText?: string; } export interface GoalCommandSuccess { schemaVersion: 1; ok: true; result: Record; } export interface GoalCommandFailure { schemaVersion: 1; ok: false; error: { code: string; message: string; retryable: boolean; details?: Record; }; } export type GoalCommandOutput = GoalCommandSuccess | GoalCommandFailure; export declare function runGoalCommand(input: GoalCommandInput, importMetaUrl?: string): Promise;