Reference
TypeScript
Declarations ship with the package — no @types install. The full exported surface:
ts
import {
DecaneClient, // class — the main entry point
createDecaneClient, // factory mirroring the constructor
verifyAccessToken, // standalone verify (per-config client cache)
DecaneAuthError, // every verification failure is this type
DecaneApiError, // every sign-in / API failure is this type
DEFAULT_DECANE_API_BASE,
type DecaneClientOptions,
type DecaneClaims,
type DecaneUser,
type DecaneAddresses,
type DecaneLinkedAccount,
type DecaneAuthResult,
type DecaneAuthProfile,
type DecaneAuthErrorReason,
type DecaneApiErrorCode,
} from "decane-node";