import type { BoxAccessor } from '../../accessor/box.ts';
import type { IndexCacheStore } from '../../cache/index/store.ts';
import { FileStat, type PathSpec } from '../../types.ts';
/**
 * What is at `path`: the row its parent's listing named. The mount root has
 * no parent listing to inherit an mtime from, so the folder's own metadata is
 * fetched; `find -mtime` and `ls -ld` then see a real timestamp. A fresh check
 * is answered live: by the one request the mount's row leads to, else by
 * walking the listings. `index` is the store the stat runs under; a fresh
 * check's offers the mount's rows as leads. Mirrors Python's `stat`.
 */
export declare function stat(accessor: BoxAccessor, path: PathSpec, entry?: FileStat | null, index?: IndexCacheStore): Promise<FileStat>;
//# sourceMappingURL=stat.d.ts.map