/** * Macro Recorder for SolidWorks MCP * Records and manages macro operations */ import { MacroAction, MacroRecording, MacroExecution } from './types.js'; export declare class MacroRecorder { private currentRecording; private recordings; private executions; private actionHandlers; /** * Start a new macro recording */ startRecording(name: string, description?: string): string; /** * Stop the current recording */ stopRecording(): MacroRecording | null; /** * Record an action */ recordAction(type: string, name: string, parameters: Record): void; /** * Get a recording by ID */ getRecording(id: string): MacroRecording | undefined; /** * Get all recordings */ getAllRecordings(): MacroRecording[]; /** * Delete a recording */ deleteRecording(id: string): boolean; /** * Register an action handler */ registerActionHandler(type: string, handler: (action: MacroAction) => Promise): void; /** * Execute a macro recording */ executeMacro(macroId: string, parameters?: Record): Promise; /** * Get execution by ID */ getExecution(id: string): MacroExecution | undefined; /** * Get all executions for a macro */ getMacroExecutions(macroId: string): MacroExecution[]; /** * Add a log entry to an execution */ private addLog; /** * Export recording to VBA code */ exportToVBA(macroId: string): string; /** * Convert action to VBA code */ private actionToVBA; /** * Sanitize name for VBA */ private sanitizeName; /** * Clear all recordings and executions */ clear(): void; } //# sourceMappingURL=recorder.d.ts.map