import type { TaskStateGitManifestV1 } from "./types.js";
/** Warn when events since last snapshot exceed this count (hydrate admission risk). */
export declare const TASK_STATE_SNAPSHOT_TAIL_WARN_THRESHOLD = 100;
export type SnapshotTailAssessment = {
    schemaVersion: 1;
    latestSequence: number;
    throughSequence: number;
    tailEventCount: number;
    recommendSnapshot: boolean;
    message: string | null;
    recommendedCommand: string | null;
};
export declare function assessSnapshotTail(args: {
    latestSequence: number;
    throughSequence: number | null | undefined;
    threshold?: number;
}): SnapshotTailAssessment;
export declare function readSnapshotThroughSequence(workspacePath: string, ref: string, manifest: TaskStateGitManifestV1): number | null;
export declare function assessSnapshotTailFromManifest(workspacePath: string, ref: string, manifest: TaskStateGitManifestV1, threshold?: number): SnapshotTailAssessment | null;
