import type { LookupFn } from '../../services/best-practice/scan-orchestrator.js'; import { type ProgramIO } from '../cli-helpers.js'; /** The scan seam's two optional lookups, ready to spread into `ScanOptions`. */ export type InjectedLookups = { context7Lookup?: LookupFn; webSearchLookup?: LookupFn; }; /** * Rule 1 plus the refusal. Returns the injected seam lookups, or `null` after * emitting `BEST_PRACTICE_SCAN_INVALID_RESULTS` — in which case the caller must * set a non-zero exit code and scan nothing. */ export declare function readLookupResultsOrFail(file: string, intent: string, io: ProgramIO, asJson: boolean): InjectedLookups | null;