const DEFAULT_PORTS = {
    controlPlane: 3421,
    httpListener: 3422,
    web: 3423,
};
export function resolveHostBinding(hostMode, customHost, customPort, serverType) {
    switch (hostMode) {
        case 'local':
            return { host: '127.0.0.1', port: DEFAULT_PORTS[serverType] };
        case 'network':
            return { host: '0.0.0.0', port: DEFAULT_PORTS[serverType] };
        case 'custom':
            return { host: customHost || '127.0.0.1', port: customPort || DEFAULT_PORTS[serverType] };
    }
}
