/** * Category Inference Service * Auto-detect component and category from file paths and content */ export type Component = 'backend' | 'mobile' | 'web' | 'infra' | 'data' | 'docs' | 'tests' | 'other'; export type Category = 'code' | 'docs' | 'ops' | 'tests' | 'data-model' | 'decision'; export declare class CategoryInferenceService { /** * Infer component from file path */ inferComponent(path: string): Component; /** * Infer category from file path and content */ inferCategory(path: string, content?: string): Category; /** * Infer component from multiple file paths (for DIGESTs with multiple files) * Returns most common component, or 'other' if mixed */ inferComponentFromFiles(paths: string[]): Component; /** * Extract tags from text (simple keyword extraction) * TODO: Use NLP for better extraction */ extractTags(text: string, maxTags?: number): string[]; } //# sourceMappingURL=category-inference.service.d.ts.map