/** * Persistence activities for the workflow planner. * These are side-effect functions that update the database. */ import type { PlanItem, LTWorkflowSetStatus } from '../../../../types/workflow-set'; export declare function persistPlan(setId: string, planItems: PlanItem[], namespaces?: string[]): Promise; export interface BuiltWorkflowData { name: string; description: string; yaml_content: string; input_schema: Record; output_schema: Record; activity_manifest: unknown[]; tags: string[]; graph_topic: string; original_prompt?: string; } export declare function persistBuiltWorkflow(setId: string, planItem: PlanItem, builderOutput: BuiltWorkflowData): Promise; export declare function updateSetStatus(setId: string, status: LTWorkflowSetStatus): Promise; export declare function deploySetNamespaces(namespaces: string[]): Promise;