import { DataStore, StoreState } from "./data-store.mjs"; import { StoreRef } from "./stores.mjs"; import { Session } from "./types.mjs"; //#region src/session-store.d.ts /** * `error` holds the last non-401 failure (network error, 5xx, etc.). A 401 is * not an error — it resolves to `data: null`. */ type SessionState = StoreState | null>; type SessionStore = DataStore | null>; declare const sessionStore: StoreRef; //#endregion export { SessionState, SessionStore, sessionStore };