import { ServiceSpec, Environment, RuntimeContext, ServiceId, ServiceMetadata } from './types';
declare class InternalRuntimeContext implements RuntimeContext {
    readonly name: string;
    private readonly _catalog;
    shuttingDown: boolean;
    constructor(name: string);
    get catalog(): ReadonlyMap<ServiceId, ServiceMetadata>;
    register(metadata: ServiceMetadata): void;
    unregister(id: ServiceId): void;
}
declare function createEnvironment(specs: readonly ServiceSpec[], options?: {
    name?: string;
}): Environment;
export { InternalRuntimeContext, createEnvironment };
