import { DictionaryEntry, SemanticConflict, SemanticDictionary, SemanticDiff } from "@myycontext/core";
export declare class LivingDictionary {
    private dict;
    private brainPath;
    constructor(brainPath?: string);
    defineTerm(term: string, definition: string, category?: DictionaryEntry["category"], source?: string, context?: string, aliases?: string[]): DictionaryEntry;
    getAllEntries(): DictionaryEntry[];
    lookupTerm(term: string): DictionaryEntry | undefined;
    searchTerms(query: string): DictionaryEntry[];
    expandTerm(term: string): string[];
    getEntries(): Map<string, DictionaryEntry>;
    getAllTerms(): string[];
    getConflicts(): SemanticConflict[];
    detectUndefinedTerms(terms: string[]): string[];
    discoverTerms(sourceText: string): Promise<DictionaryEntry[]>;
    diff(other: SemanticDictionary): SemanticDiff;
    load(): Promise<void>;
    save(): Promise<void>;
    private findRelatedTerms;
    private detectAndRecordConflicts;
    private extractCandidateTerms;
}
//# sourceMappingURL=LivingDictionary.d.ts.map