import type { MemoryStore } from '../../types/memory/index.js'; /** Tag prefix both derived-memory writers (the session memory promoter and consolidation) put their content digest under. */ export declare const KNOWLEDGE_TAG_PREFIX = "knowledge:"; export declare function knowledgeDigest(value: unknown): string; /** * Whether `store` already holds a record carrying `digest` — archived ones * included, so a claim deliberately retired is not written back. * * The tag narrows the search and the metadata confirms it, because a tag is * free text anyone can write and the digest in metadata is what the writer * recorded. Best-effort: this read and the caller's create are two store * operations, not one, so two processes can still both write. */ export declare function holdsKnowledgeDigest(store: MemoryStore, tags: readonly string[], digest: string, isWriter: (metadata: Record | undefined) => boolean): Promise; //# sourceMappingURL=digest.d.ts.map