export interface DistFreshnessResult {
    stale: boolean;
    /** Human-readable details when stale=true; absent when fresh. */
    details?: string;
}
/**
 * Returns { stale: true, details } when any source file under
 * `src/eval-server/` or `src/utils/` is newer than every file under
 * `dist/eval-server/` and `dist/utils/`.
 *
 * Returns { stale: false } when:
 *   - dist is current or newer
 *   - either dist/ or src/ subtree is missing (production install)
 *   - any fs error occurs (best-effort, never fatal)
 *
 * The 1-second tolerance avoids false positives on filesystems where mtime
 * precision is coarse and src/dist were written within the same tick.
 */
export declare function checkDistFreshness(rootDir: string): DistFreshnessResult;
