import type { LTYamlWorkflowRecord, LTYamlWorkflowStatus } from '../../types/yaml-workflow'; /** * Extract the `app.version` value from YAML content using a simple regex. * Returns null if not found. */ export declare function parseVersionFromYaml(yaml: string): string | null; export declare function updateYamlWorkflowStatus(id: string, status: LTYamlWorkflowStatus): Promise; export declare function listYamlWorkflows(filters: { status?: LTYamlWorkflowStatus; graph_topic?: string; app_id?: string; tags?: string[]; search?: string; source_workflow_id?: string; set_id?: string; limit?: number; offset?: number; }): Promise<{ workflows: LTYamlWorkflowRecord[]; total: number; }>; /** * Find active YAML workflows matching any of the given tags. * Uses GIN index on tags column for efficient lookup. */ export declare function findYamlWorkflowsByTags(tags: string[], match?: 'any' | 'all'): Promise;