import type { MatcherStream } from "./patterns/matcherStream.js"; import type { Resource, InvalidSource } from "./patterns/resource.js"; import type { ScanOptions } from "./types.js"; import { type WalkResult, type WalkTotal } from "./walk.js"; export interface ScanParallelOptions { scanOptions: Required; within: string; stream?: MatcherStream; external: Map; failed?: InvalidSource[]; onResult?: (result: WalkResult | WalkTotal) => void; } /** * Executes a parallel directory scan. * * @since 0.11.0 */ export declare function scanParallel(options: ScanParallelOptions, cb: (err: Error | null, results: WalkResult[] | null) => void): void;