/**
 * 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<string, unknown> | unknown, outputSchema: Record<string, unknown> | unknown, inputFieldMeta?: unknown, changeSummary?: string): Promise<LTYamlWorkflowVersionRecord>;
export declare function getVersionHistory(workflowId: string, limit?: number, offset?: number): Promise<{
    versions: LTYamlWorkflowVersionRecord[];
    total: number;
}>;
export declare function getVersionSnapshot(workflowId: string, version: number): Promise<LTYamlWorkflowVersionRecord | null>;
export declare function markContentDeployed(workflowId: string): Promise<void>;
export declare function markAppIdContentDeployed(appId: string): Promise<void>;
export declare function updateCronSchedule(id: string, cronSchedule: string, cronEnvelope: Record<string, unknown> | null, executeAs: string | null): Promise<LTYamlWorkflowRecord | null>;
export declare function clearCronSchedule(id: string): Promise<LTYamlWorkflowRecord | null>;
export declare function getCronScheduledWorkflows(): Promise<LTYamlWorkflowRecord[]>;
