/** * In-memory workflow storage service * This can be replaced with a database implementation later */ import type { Workflow } from '../types/index.js'; /** * Save a workflow */ export declare function saveWorkflow(workflow: Omit): Promise; /** * Update an existing workflow */ export declare function updateWorkflow(id: string, workflow: Partial): Promise; /** * Get a workflow by ID */ export declare function getWorkflow(id: string): Promise; /** * Get all workflows with optional filtering */ export declare function getWorkflows(options?: { search?: string; limit?: number; offset?: number; }): Promise; /** * Delete a workflow */ export declare function deleteWorkflow(id: string): Promise; /** * Get workflow count */ export declare function getWorkflowCount(): Promise; /** * Initialize with sample workflows (for development) */ export declare function initializeSampleWorkflows(): Promise;