import type { ActorMap, ActorInstance, Flakes, AdapterLibrary, ActorStoreInstance, ActorCacheInstance as CacheInst } from './types.js'; export default function (flakes: Flakes, actors: ActorMap, actorStoreLib: AdapterLibrary, actorCacheLib: AdapterLibrary, nodeId?: string): { adapters: { store: Record>; cache: Record>; }; fetch: (type: string, id: unknown) => Promise; fetchAll: (options: Record) => Promise>; fetchByLastEventId: (type: string, id: unknown, lastEventId: unknown) => Promise; fetchByLastEventDate: (type: string, id: unknown, lastEventDate: unknown) => Promise; getSystemId: (create: boolean, type: string, id: unknown, asOf?: unknown) => Promise; onActorInstance: (type: string, id: unknown, createIfMissing: boolean, instance: unknown) => Promise; store: (instance: ActorInstance) => Promise; };