/** * The one rule every command over "several runs" uses to turn paths into run * directories: a path that is a run directory (has `statelog.jsonl`) is that * run; a directory holding run directories is a group and yields them, * sorted, at most TWO levels down: a suite run is `//`, and a * suite run with repeated trials is `///`. Nothing * deeper is looked at, and `.staging` (a suite still running) is never * entered. Anything else is an error. Resolved, absolute paths come back. */ export declare function isRunDirectory(dir: string): boolean; export declare function childRunDirectories(dir: string): string[]; export declare function findRunDirectories(paths: string[]): string[]; /** The same run directory once, however many ways the walk reached it. * First appearance wins. Canonical paths (`realpath`), so identity and any * later mutation target come from one source of truth: the walk follows * symlinks while classifying, so two spellings can name one directory. */ export declare function uniqueRunDirectories(dirs: string[]): string[];