import { type RecordedCaseName } from '@variance-authority/sense'; import type { CasesUnread, RecordedTests } from './search-matches.js'; /** * The recorded test cases a question names: each suite's nearest record, read * by the name its runner gave the case, so a block is found however its file * spelled it. A name is cut as an exported name is, so it holds a word of the * question as a name holds one anywhere in search: a word of it is that word, * starts with it, or shares its stem. One that writes the phrase comes first. The record lags the checkout, and the * section that prints these says so. */ /** What one suite answered, as far as search needs: its cases, or why it has none. */ export type SuiteCaseNames = CasesUnread | { readonly cases: readonly RecordedCaseName[]; }; /** * Each suite's cases. The section adds to an answer that needs no suite, so a * root config that names none leaves it unread and the rest of the answer stands. */ export declare function suiteCaseNames(root: string): readonly SuiteCaseNames[]; /** The matching cases and what was unread; `file` receives each match before the display cap. */ export declare function recordedTests(suites: readonly SuiteCaseNames[], query: string, within: ReadonlySet | undefined, cap: number, file?: (at: string) => void): RecordedTests; //# sourceMappingURL=search-tests.d.ts.map