import type { Fs } from "./fs/fs.js"; /** * Yields the path of every file under `dir`, recursively. Dotfiles and * `node_modules` are skipped, so what comes back is a project's own source. */ export interface WalkOptions { /** The filesystem to read; the real one by default. */ fs?: Fs; } export declare function walk(dir: string, opts?: WalkOptions): AsyncGenerator;