import type { HuntState } from '../types.js'; export declare function getStateDir(targetPath: string, baseDir?: string): string; export declare function saveState(stateDir: string, state: HuntState): void; export declare function loadState(stateDir: string): HuntState | null; export declare function checkStaleness(state: HuntState, currentHashes: Record): string[];