import type { UnderstandingKind, UserContextScope, UserUnderstanding } from './domain.js'; export declare function canonicalUnderstandingKey(kind: UnderstandingKind, statement: string): string; export declare function isSameUserContextScope(left: UserContextScope, right: UserContextScope): boolean; export declare function findDuplicateUnderstanding(understandings: UserUnderstanding[], input: { kind: UnderstandingKind; statement: string; canonicalKey: string; scope: UserContextScope; excludeId?: string; }): UserUnderstanding | undefined; export declare function findContradictoryUnderstanding(understandings: UserUnderstanding[], input: { kind: UnderstandingKind; statement: string; scope: UserContextScope; }): UserUnderstanding | undefined;