import type { MemoryBlockScope, PersistentMemoryBlock, PersistentMemoryStore } from './types.js'; /** * Nested by (scope, owner, key) rather than a joined string — a `Map` can key * on any value, so there is nothing to flatten and therefore nothing that can * rearrange across a delimiter. The previous `` `${scope}:${owner}:${key}` `` * composition made `(owner: 'a:b', key: 'K')` and `(owner: 'a', key: 'b:K')` * the same map entry, and `listBlocks`'s prefix scan compounded it by also * matching owner `a`'s scan against owner `a:b`'s rows. */ export declare class InMemoryPersistentMemoryStore implements PersistentMemoryStore { private readonly blocks; private ownerBlocks; loadBlock(scope: MemoryBlockScope, owner: string, key: string): Promise; saveBlock(block: PersistentMemoryBlock, owner: string): Promise; deleteBlock(scope: MemoryBlockScope, owner: string, key: string): Promise; listBlocks(scope: MemoryBlockScope, owner: string): Promise; }