/** * Version history and cron scheduling DB operations for yaml-workflows. * * Extracted from db.ts to keep each file under 300 lines. */ import type { LTYamlWorkflowRecord, LTYamlWorkflowVersionRecord, ActivityManifestEntry } from '../../types/yaml-workflow'; export declare function createVersionSnapshot(workflowId: string, version: number, yamlContent: string, activityManifest: ActivityManifestEntry[] | unknown, inputSchema: Record | unknown, outputSchema: Record | unknown, inputFieldMeta?: unknown, changeSummary?: string): Promise; export declare function getVersionHistory(workflowId: string, limit?: number, offset?: number): Promise<{ versions: LTYamlWorkflowVersionRecord[]; total: number; }>; export declare function getVersionSnapshot(workflowId: string, version: number): Promise; export declare function markContentDeployed(workflowId: string): Promise; export declare function markAppIdContentDeployed(appId: string): Promise; export declare function updateCronSchedule(id: string, cronSchedule: string, cronEnvelope: Record | null, executeAs: string | null): Promise; export declare function clearCronSchedule(id: string): Promise; export declare function getCronScheduledWorkflows(): Promise;