import type { MemoryBlockScope, PersistentMemoryBlock, PersistentMemoryStore } from './types.js'; export type MemoryRouteFn = (scope: MemoryBlockScope, owner: string) => PersistentMemoryStore; export interface RoutedPersistentMemoryStoreConfig { routes: Partial>; default?: PersistentMemoryStore; route?: MemoryRouteFn; } export declare class RoutedPersistentMemoryStore implements PersistentMemoryStore { private readonly routes; private readonly defaultStore?; private readonly routeFn?; constructor(config: RoutedPersistentMemoryStoreConfig); private resolve; 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; }