/**
 * Entity Extractor
 *
 * Extracts entities and relations from unstructured text using
 * keyword/regex patterns. No external LLM dependency — pure local.
 *
 * Phase: 8D (Graph Knowledge Engine)
 */
export type EntityType = 'file' | 'function' | 'bug' | 'decision' | 'concept' | 'session' | 'agent';
export type RelationType = 'contains' | 'caused_by' | 'fixed_in' | 'depends_on' | 'related_to' | 'supersedes';
export interface ExtractedEntity {
    name: string;
    type: EntityType;
    confidence: number;
}
export interface ExtractedRelation {
    from: string;
    to: string;
    type: RelationType;
    confidence: number;
}
export interface ExtractionResult {
    entities: ExtractedEntity[];
    relations: ExtractedRelation[];
}
export declare class EntityExtractor {
    /**
     * Extract entities and relations from text content.
     * Uses keyword/regex patterns — no external LLM needed.
     */
    extract(text: string): ExtractionResult;
    /** Extract entities from text using regex patterns */
    private extractEntities;
    /** Extract relations between known entities */
    private extractRelations;
    /**
     * Extract entity names from tags (high confidence).
     * Tags like #bug, #architecture become concept entities.
     */
    extractFromTags(tags: string[]): ExtractedEntity[];
}
