import type { MatcherContext } from "./patterns/matcherContext.js"; import type { ScanOptions } from "./types.js"; export type * from "./types.js"; /** * Scan the directory for included files based on the provided targets. * * It also normalizes paths to use forward slashes. * * @param options Scan options. * @returns A promise that resolves to a {@link MatcherContext} containing the scan results. * * @since 0.6.0 */ export declare function scan(options: ScanOptions): Promise; /** * Scan the directory for included files based on the provided targets. * * It also normalizes paths to use forward slashes. * * @param options Scan options. * @param cb Callback function. * * @since 0.11.0 */ export declare function scanCb(options: ScanOptions, cb: (err: Error | null, ctx: MatcherContext) => void): void;