import { ServiceCreateFunction, ServiceGetFunction } from 'zation-service'; export default class ServiceBox { private readonly serviceName; private readonly instances; private readonly instancesConfig; private readonly create; private readonly get; constructor(serviceName: string, instances: Record | undefined, create: ServiceCreateFunction, get?: ServiceGetFunction); init(errorBox: string[]): Promise; private initInstances; getService(instance?: string): Promise; existsInstance(instance?: string): boolean; }