import type { RequestHandler } from 'express'; import type { TransportMode, WalletMode } from './types.js'; /** * Creates CORS middleware with secure defaults. * By default, no CORS headers are set (same-origin only). */ export declare function createCorsMiddleware(): RequestHandler; /** * Validates that wallet mode is not used with HTTP transports * Exits the process if unsafe configuration detected */ export declare function validateSecurityConfig(transportMode: TransportMode, walletMode: WalletMode): void;