/** * Named exports for classic `import` usage. * * Every export below points to the exact same instance * already defined on globalThis by the core modules. * `import { state } from 'memorio'` === `globalThis.state`. * * @see index.ts (runtime re-export) */ /// /// /// /// /// /// /// /// export const memorio: _memorio export const state: _state export const store: _store export const session: _session export const cache: _cache export const idb: _idb export const observer: _observer export const useObserver: _useObserver export const dispatch: _dispatch export const events: Record export const isBrowser: () => boolean export const isNode: () => boolean export const isDeno: () => boolean export const isEdge: () => boolean export const getCapabilities: (...args: unknown[]) => any export const createContext: _memorio['createContext'] export const listContexts: _memorio['listContexts'] export const deleteContext: _memorio['deleteContext'] export const isolate: _memorio['isolate'] export const message: (...args: unknown[]) => void export const help: () => void export const propertyName: (container: any, object: any) => string | null export const internal: { debug: boolean tracking: boolean trackedPaths: Set locked: boolean lastAccessedPath: string stateVersion: number currentContext: string | null clearTrackedPaths(): void bumpStateVersion(): number } export const setContext: (id: string) => void export const getContext: () => string | null export default memorio