ReadonlyauthenticateSign in with explicit credentials; throws on rejection.
ReadonlyclearCancel any pending automatic sync.
ReadonlyensureSync check first; when it reads false, one best-effort
resumeSession probe, then a re-check — the lazy self-heal
consumers otherwise hand-roll (a valid persisted Home token reads
unauthenticated until a context fetch has run).
ReadonlyisWhether a session is currently usable, from local state alone.
ReadonlyisWhether the client is currently inside a server rate-limit backoff.
ReadonlylocaleBCP-47 locale tag the instance was configured with, or undefined.
ReadonlylogExplicit sign-out: clears the persisted session material.
ReadonlyresumeBest-effort session restore from persisted credentials. Never
throws — returns false when no credentials are persisted or
sign-in fails (logged via the SDK logger).
ReadonlysetUpdate the automatic sync interval and reschedule. Pass false to disable.
ReadonlytimezoneIANA timezone the instance was configured with, or undefined.
Session and infrastructure surface shared by both dialects' API adapters — the cross-dialect base a consumer can program against without knowing which wire it talks to.