/** * Topic Detector — auto-classify observations into topics. * * Uses keyword matching against known topic categories, * entity types, and auto-tagger output to assign topics. */ import type { StoragePlugin } from './types.js'; export interface DetectedTopic { name: string; confidence: number; } /** * Detect topics from content text. */ export declare function detectTopics(content: string, tags?: string[], entityNames?: string[]): DetectedTopic[]; /** * Store detected topics in the database, creating topic entries as needed. */ export declare function storeTopics(storage: StoragePlugin, observationId: string, topics: DetectedTopic[]): void; //# sourceMappingURL=topic-detector.d.ts.map