import type { DetectedKit } from "./inventory.js"; /** * Exported symbols in one file of source or declarations. * * Deliberately regular expressions rather than a parser. The question is "what * names does this file expose", the answers are on single lines in every syntax * that matters, and a TypeScript program instantiated per kit would cost more * than every other part of detection combined. */ export declare function exportedSymbols(text: string): string[]; export interface ExportScanOptions { /** Roots to look for a node_modules under, nearest first. */ searchRoots: string[]; } /** * The component names this kit exposes, or an empty list when the kit cannot be * read from here. * * Empty is a real answer and it is treated as one everywhere downstream: an * unreadable kit means lookout does not know what the kit provides, which is * different from knowing that it provides nothing. Nothing infers absence from * this list being empty. */ export declare function readKitExports(kit: DetectedKit, opts: ExportScanOptions): Promise;