import type { BoxAccessor } from '../../accessor/box.ts'; import { PathSpec } from '../../types.ts'; /** * Use Box content search to narrow grep/rg scopes to candidate files. * * Each scope is resolved to its Box folder id and searched with that id as * the `ancestor_folder_ids` scope; hits are mapped back to mount paths from * their `path_collection` ancestor chain, sorted component-wise so they line * up with a sorted readdir walk, and each `rawPath` is rebased onto the * scope's as-typed spelling so output labels match a walk's. * * Returns null whenever the narrowed set cannot be trusted as a superset of * what a full scan would read (API failure, the 10,000-match ceiling, or a * scope that no longer resolves to a folder), so the caller falls back to the * full scan. */ export declare function narrowPaths(accessor: BoxAccessor, query: string, paths: readonly PathSpec[]): Promise; //# sourceMappingURL=search.d.ts.map