/** * Transport factory — resolves config and creates the appropriate transport. * * Config resolution order: * 1. SUPEN_GATEWAY_URL env var * 2. gateway.url in ~/.supen/config.yaml * 3. Default: local mode (http://localhost:2756) */ import type { Transport, TransportConfig } from './types.js'; /** * Resolve the transport configuration from environment, config, and auth state. */ export declare function resolveTransportConfig(overrides?: { gateway?: string; daemonId?: string; port?: number; forceLocal?: boolean; }): TransportConfig; /** * Create a transport instance based on resolved config. */ export declare function createTransport(overrides?: { gateway?: string; daemonId?: string; port?: number; forceLocal?: boolean; }): Transport;