import type { PathSpec, WalkEntry } from '@struktoai/mirage-core/types'; import { type DeltaHook } from '@struktoai/mirage-core/watch/index'; import type { DiskAccessor } from '../../../accessor/disk.ts'; /** * Recursive directory walk feeding the generic listing differ. * * Reads the filesystem directly, never through mirage's caches, as the * DeltaHook contract requires. Fingerprints on mtime, the same value `disk` * stat reports, so an editor that rewrites identical bytes still registers as * an UPDATE. That is the local filesystem's own resolution, not a mirage * choice: nothing cheaper than hashing every file can tell those two apart. * * Symlinks are not followed, matching every other disk walk in the repo and * keeping a link loop from hanging the poll. */ export declare class DiskWalk { private readonly accessor; constructor(accessor: DiskAccessor); walk(root: PathSpec): AsyncGenerator; } export declare function buildDeltaHook(accessor: DiskAccessor): DeltaHook; //# sourceMappingURL=walk.d.ts.map