import { type Sequence } from "@dbx-tools/shared-core"; import { IgnoreLike, type GlobOptionsWithFileTypesUnset } from "glob"; import { PathMatchInput } from "./match.ts"; import { FileScanOptions } from "./scan.ts"; type FileFindIgnore = PathMatchInput | readonly PathMatchInput[] | IgnoreLike; export interface FileFindOptions extends Omit, Omit { cwd?: string | URL; ignore?: FileFindIgnore; } /** * Recursively lists files matching `pattern`, ignoring the shared default groups * plus any caller `ignore` patterns (unless `ignore` is a lone predicate function, * in which case only that predicate applies). The ignore list mirrors what * {@link watchFiles} feeds through its matchers. */ export declare function findFiles(pattern: string | string[], options?: FileFindOptions): Sequence; export {};