DecaneDocs
ReferenceTypeScript
Reference

TypeScript

The package ships full type declarations. Key types:

ts
import type {
  DecaneProvider,
  DecaneConfig,
  UnifiedWalletAccount,
  ChainDescriptor,
  ActiveSession,
  ChainType,            // "evm" | "solana" | "tron" | "bitcoin"
  ChainId,              // union of all built-in CAIP-2 chain IDs
  Theme,                // "light" | "dark" | "auto"
  ConnectMode,          // mode union type
  SocialConfig,         // social auth config shape
  CAIP25Method,
} from "decane-connect-kit";