/** * Describes an unknown-but-interesting workspace signal captured for review. */ export interface UnknownSignalEntry { id: string; path: string; fileName: string; category: "mcp-manifest" | "host-rule-folder" | "unfamiliar-package-dependency" | "plugin-manifest"; confidence: "high" | "medium" | "low"; evidence: string[]; ambiguityNotes: string[]; suggestedNextAction: "add-signature" | "add-source-mapping" | "ignore" | "quarantine" | "needs-research"; } /** * Describes the unknown-signal report persisted by discovery. */ export interface UnknownSignalReport { schemaVersion: number; generatedAt: string; scanRoot: string; summary: { scannedFiles: number; signalCount: number; scanTruncated?: boolean; truncationReason?: string; scannedBytes?: number; byCategory: Record; }; signals: UnknownSignalEntry[]; } /** * Writes a structured unknown-signal backlog report for workspace evolution. */ export declare function writeUnknownSignalReport(scanRoot: string, outputPath: string): Promise; /** * Builds structured unknown workspace signals from interesting but ambiguous evidence. */ export declare function buildUnknownSignalReport(scanRoot: string): Promise; declare function createSignal(idPath: string, fileName: string, category: UnknownSignalEntry["category"], confidence: UnknownSignalEntry["confidence"], evidence: string[], displayPath?: string): UnknownSignalEntry; declare function collectUnfamiliarDependencyNames(fileName: string, filePath: string): Promise; declare function parsePackageJson(content: string): { dependencies?: Record; devDependencies?: Record; optionalDependencies?: Record; peerDependencies?: Record; } | null; declare function dedupeSignals(signals: UnknownSignalEntry[]): UnknownSignalEntry[]; declare function countByCategory(signals: UnknownSignalEntry[]): Record; /** * Exposes pure helpers for focused unknown-signal branch coverage. */ export declare const unknownSignalInternals: { KNOWN_PACKAGE_PREFIXES: readonly ["@types/", "@vitejs/", "eslint", "typescript", "vite", "react", "next", "vue", "svelte", "astro", "express", "fastify", "hono", "zod", "vitest", "jest", "playwright", "prettier"]; createSignal: typeof createSignal; dedupeSignals: typeof dedupeSignals; collectUnfamiliarDependencyNames: typeof collectUnfamiliarDependencyNames; parsePackageJson: typeof parsePackageJson; countByCategory: typeof countByCategory; }; export {};