/** * REALITY configuration for Xray-Core. * * @see https://xtls.github.io/en/config/transport.html#realityobject */ export interface REALITYConfig { /** Show debug info in logs. */ show?: boolean; /** Target destination for REALITY (e.g. "example.com:443"). */ target?: string | number; /** Alias for target (legacy). */ dest?: string | number; /** Destination type. */ type?: string; /** PROXY protocol version to send to target (0 = disabled, 1 or 2). */ xver?: number; /** Server names (SNI) allowed for this REALITY server. */ serverNames?: string[]; /** X25519 private key (base64, server-side). */ privateKey?: string; /** Minimum client version allowed. */ minClientVer?: string; /** Maximum client version allowed. */ maxClientVer?: string; /** Maximum time difference in ms allowed. */ maxTimeDiff?: number; /** Short IDs for client authentication (hex strings, 0-16 chars). */ shortIds?: string[]; /** Remnawave Custom Field. (hex strings, 0-16 chars). */ clientShortIds?: string[]; /** ML-DSA-65 seed for post-quantum key exchange (server-side). */ mldsa65Seed?: string; /** Rate-limit fallback upload config. */ limitFallbackUpload?: LimitFallbackConfig; /** Rate-limit fallback download config. */ limitFallbackDownload?: LimitFallbackConfig; /** uTLS fingerprint (required on client side). */ fingerprint?: string; /** Server name (SNI) to use. Must be one of server's serverNames. */ serverName?: string; /** Password for authentication. */ password?: string; /** X25519 public key (base64, client-side). */ publicKey?: string; /** Short ID to use (must be one of server's shortIds). */ shortId?: string; /** ML-DSA-65 verification key (base64, client-side). */ mldsa65Verify?: string; /** Spider path for camouflage browsing. */ spiderX?: string; /** Path to write TLS master key log (for debugging). */ masterKeyLog?: string; } export interface LimitFallbackConfig { /** Start rate-limiting after this many bytes. */ afterBytes?: number; /** Rate limit in bytes per second. */ bytesPerSec?: number; /** Burst rate in bytes per second. */ burstBytesPerSec?: number; } //# sourceMappingURL=reality.d.ts.map