import { Result } from 'neverthrow'; import type { PortSpec } from './port_spec'; import type { ServiceID } from './service'; import { GenericApiContainerClient } from '../enclaves/generic_api_container_client'; export declare class ServiceContext { private readonly client; private readonly serviceId; private readonly privateIpAddress; private readonly privatePorts; private readonly publicIpAddress; private readonly publicPorts; constructor(client: GenericApiContainerClient, serviceId: ServiceID, privateIpAddress: string, privatePorts: Map, publicIpAddress: string, publicPorts: Map); getServiceID(): ServiceID; getPrivateIPAddress(): string; getPrivatePorts(): Map; getMaybePublicIPAddress(): string; getPublicPorts(): Map; execCommand(command: string[]): Promise>; }