import type { PathSpec } from '../../types.ts';
import type { resolveMsGraphConfig } from './config.ts';
import { type DriveLoc } from './drive.ts';
/**
 * The files under each scope Graph search names. Each scope is walked and
 * searched from its folder; a hit counts when its id is a walked file. Null
 * when a listing or the search fails or times out, nothing is found, or a
 * walked file has no id.
 *
 * Graph searches the text it extracted, not the bytes grep reads, so the
 * answer can leave out a file that holds the text: an office file, PDF or
 * archive, the end of a large file, a word Graph splits differently
 * (`foo.bar`), or a recent write. Mirrors Python's `files_containing`.
 */
export declare function filesContaining(config: ReturnType<typeof resolveMsGraphConfig>, scopes: readonly (readonly [PathSpec, DriveLoc])[], text: string): Promise<PathSpec[] | null>;
//# sourceMappingURL=search.d.ts.map