import type { KlawConfig } from "../config/types.js"; export type GatewayConnectionDetails = { url: string; urlSource: string; bindDetail?: string; remoteFallbackNote?: string; message: string; }; type GatewayConnectionDetailResolvers = { getRuntimeConfig?: () => KlawConfig; resolveConfigPath?: (env: NodeJS.ProcessEnv) => string; resolveGatewayPort?: (cfg?: KlawConfig, env?: NodeJS.ProcessEnv) => number; }; export declare function buildGatewayConnectionDetailsWithResolvers(options?: { config?: KlawConfig; url?: string; configPath?: string; urlSource?: "cli" | "env"; ignoreEnvUrlOverride?: boolean; }, resolvers?: GatewayConnectionDetailResolvers): GatewayConnectionDetails; export {};