SearchResults
What code search found: the definitions and pages with matching lines, how many matches, and why it can't search.
import type { SearchLine } from "#codebase/tcmts/cli/pages"; export interface SearchResults { /** `first`: the line of its document its code starts on (the lines before are a header) */ hits: { path: string; hash: string; kind: string; uri?: string; first: number; lines: SearchLine[]; }[]; matches: number; truncated: boolean; error?: string; }