/** * Automation commands - canonical structured actions that modify world state. */ import { ECSContext } from '../core/ecs'; import type { EngineAPI } from '..'; import { type AutomationCommandDefinition, type AutomationParameterDefinition } from './definitions'; export type AutomationCommandParameter = AutomationParameterDefinition; export type AutomationCommand = AutomationCommandDefinition; export interface AutomationCommandCall { name: string; params: Record; } export declare const AUTOMATION_COMMAND_NAMES: string[]; export declare function validateAutomationCommandCall(name: string, params?: Record): void; /** Execute one automation command. */ export declare function executeAutomationCommand(ctx: ECSContext, engine: EngineAPI, name: string, params: any): Promise; /** Execute a batch of automation commands as a single undoable operation. */ export declare function executeAutomationBatch(ctx: ECSContext, engine: EngineAPI, calls: AutomationCommandCall[], description?: string): Promise; /** List all available automation commands. */ export declare function listAutomationCommands(): Array<{ name: string; description: string; parameters: AutomationCommandParameter[]; }>; export declare function listEditorAgentCommands(): Array<{ name: string; description: string; parameters: AutomationCommandParameter[]; }>; //# sourceMappingURL=commands.d.ts.map