import type { SavedWorkflow } from '../types/workflow.js'; export declare class WorkflowStorage { private storageDir; private indexFile; constructor(baseDir?: string); init(): Promise; save(name: string, prompt: string, yaml: string, description?: string, tags?: string[]): Promise; update(id: string, updates: { yaml?: string; prompt?: string; name?: string; description?: string; tags?: string[]; reason?: string; }): Promise; load(idOrName: string): Promise; list(filter?: { tags?: string[]; }): Promise; delete(idOrName: string): Promise; recordExecution(id: string): Promise; private loadIndex; }