import type { TaskEntity } from "../types.js";
import { getNextActions } from "../suggestions.js";
export declare const REPLAY_QUEUE_SNAPSHOT_SCHEMA_VERSION: 1;
export declare function parseTasksFromSnapshotPayload(parsed: unknown): TaskEntity[];
export declare function loadTasksFromSnapshotFile(workspacePath: string, snapshotRelativePath: string): Promise<TaskEntity[]>;
export type ReplayQueueSnapshotResult = {
    schemaVersion: typeof REPLAY_QUEUE_SNAPSHOT_SCHEMA_VERSION;
    replay: true;
    caveat: string;
    taskCount: number;
    queueNamespace: string | null;
} & ReturnType<typeof getNextActions> & {
    scope: "tasks-only";
};
export declare function replayQueueFromTasks(tasks: TaskEntity[], options?: {
    queueNamespace?: string;
}): ReplayQueueSnapshotResult;
