import type { LTApiResult } from '../../types/sdk';
/**
 * Retrieve the version history for a YAML workflow.
 *
 * Returns a paginated list of version snapshots ordered by version number.
 *
 * @param input.id — UUID of the workflow
 * @param input.limit — max versions to return (defaults to 20)
 * @param input.offset — pagination offset (defaults to 0)
 * @returns `{ status: 200, data: VersionSnapshot[] }` paginated version history
 */
export declare function getVersionHistory(input: {
    id: string;
    limit?: number;
    offset?: number;
}): Promise<LTApiResult>;
/**
 * Retrieve a specific version snapshot of a YAML workflow.
 *
 * Validates that the version number is a positive integer before querying.
 *
 * @param input.id — UUID of the workflow
 * @param input.version — 1-based version number to retrieve
 * @returns `{ status: 200, data: VersionSnapshot }` the snapshot at the requested version, or 404
 */
export declare function getVersionSnapshot(input: {
    id: string;
    version: number;
}): Promise<LTApiResult>;
/**
 * Retrieve the raw YAML content for a workflow, optionally at a specific version.
 *
 * When a version is provided, fetches from the version snapshot table. Otherwise
 * returns the current yaml_content from the live workflow record.
 *
 * @param input.id — UUID of the workflow
 * @param input.version — optional version number; when omitted, returns the current content
 * @returns `{ status: 200, data: string }` the raw YAML string
 */
export declare function getYamlContent(input: {
    id: string;
    version?: number;
}): Promise<LTApiResult<string>>;
