import { C as ClientTelemetryEvent$1, a as ConnectionHealth$1, D as Db$1, F as FreshnessMode$1, I as InitOptions$1, P as PersistAdapter$1, T as Transport$1, b as TransportFactory$1, c as TransportHandlers$1, i as init$1 } from './index.d-BXDDBJy7.cjs'; export { d as PersistedState, R as Room, e as indexedDbAdapter } from './index.d-BXDDBJy7.cjs'; import { Q as QueryResult$1, A as AggregateResult$1, E as Entity$1, a as QueryCallback$1, b as QueryOpts$1, T as TxInput$1, c as TxChain } from './tx.d-DzXSvnTg.cjs'; export { d as AggregateSpec, I as InstaQLQuery, O as OdlaError, f as flattenTx } from './tx.d-DzXSvnTg.cjs'; export { u as uuidv7 } from './helpers.d-DX9il_Du.cjs'; import { O as Op } from './ops.d-D9oT7Y5m.cjs'; declare function overlay$1(result: QueryResult$1, ops: Op[]): QueryResult$1; /** * Realtime, permission-governed browser/Worker client. * * Unlike the root admin entry, this client accepts an end-user token through * `getToken`; it must never receive a full `odla_sk_` application key. */ /** Create a permission-governed realtime client using an end-user token callback. */ declare const init: typeof init$1; /** Namespace/id proxy for building optimistic realtime transaction operations. */ declare const tx: Record; /** Apply optimistic transaction operations over a query result for immediate UI feedback. */ declare const overlay: typeof overlay$1; /** Connected realtime database client returned by `init`. */ type Db = Db$1; /** Realtime client endpoint, app identity, token, transport, persistence, and error options. */ type InitOptions = InitOptions$1; /** Content-free live/reconnecting/stale/closed state, RTT, and queue snapshot. */ type ConnectionHealth = ConnectionHealth$1; /** Low-cardinality connection event suitable for an observability adapter. */ type ClientTelemetryEvent = ClientTelemetryEvent$1; /** Freshness mode shared by connection health callbacks and UI indicators. */ type FreshnessMode = FreshnessMode$1; /** Optional persisted-query adapter contract such as the bundled IndexedDB implementation. */ type PersistAdapter = PersistAdapter$1; /** Callback invoked with the current optimistic query result. */ type QueryCallback = QueryCallback$1; /** Realtime transport contract used to connect, send, and close a session. */ type Transport = Transport$1; /** Injectable factory for constructing a realtime transport from handlers. */ type TransportFactory = TransportFactory$1; /** Lifecycle and message handlers supplied to a realtime transport. */ type TransportHandlers = TransportHandlers$1; /** Transaction builder output accepted by the optimistic client. */ type TxInput = TxInput$1; /** Result shape returned by a bounded aggregate query. */ type AggregateResult = AggregateResult$1; /** One graph entity with an id plus selected attributes and relations. */ type Entity = Entity$1; /** Per-node filters, ordering, limits, offsets, and full-text search options. */ type QueryOpts = QueryOpts$1; /** Data object produced by an InstaQL query shape. */ type QueryResult = QueryResult$1; export { type AggregateResult, type ClientTelemetryEvent, type ConnectionHealth, type Db, type Entity, type FreshnessMode, type InitOptions, type PersistAdapter, type QueryCallback, type QueryOpts, type QueryResult, type Transport, type TransportFactory, type TransportHandlers, TxChain, type TxInput, init, overlay, tx };