import type { StoreDriver, StoreRegistryInterface } from './store.types'; import { Scope } from '../scope'; export declare class StoreRegistry implements StoreRegistryInterface { private readonly map; register(name: string, driver: StoreDriver): void; get(name: string): StoreDriver | undefined; ensure(name: string): StoreDriver; has(name: string): boolean; list(): string[]; } export type StoreRegistryLocator = (scopeId: Scope['id']) => StoreRegistryInterface; export declare function configureStoreRegistryLocator(l: StoreRegistryLocator): void; export declare function getRegistryForScope(scopeId: Scope['id']): StoreRegistryInterface;