UNPKG

woltage

Version:

A CQRS and Event-Sourcing Framework

4 lines (3 loc) 364 B
import { StoreAdapterConfig } from './WoltageConfig.ts'; export declare function createStore(config: StoreAdapterConfig, prefix: string): import("./adapters/Store.ts").IStore<any>; export declare function createStoreFactory(stores: Record<string, StoreAdapterConfig>): (storeName: keyof typeof stores, prefix: string) => import("./adapters/Store.ts").IStore<any>;