import { BundleContext, ComponentContext, ServiceInstance, ServiceProperties } from './api/index.js'; import 'apprt-core/Types'; declare class ServiceResolver { #private; constructor(opts: { bundleCtx: BundleContext; }); setBundleCtx(bundleCtx: BundleContext): void; activate(cpCtx: ComponentContext): void; deactivate(): void; getServiceProperties(servOrProvides?: string | ServiceInstance, filter?: string): ServiceProperties | undefined; getService(provides: string, filter?: string): ExpectedServiceType | undefined; ungetService(serv: ServiceInstance | undefined): void; getServices(provides: string, filter?: string): ExpectedServiceType[] | undefined; ungetServices(services: ServiceInstance[]): void; doWithService(provides: string, filter: string | undefined, cb: (service: ExpectedServiceType) => Promise | R, scope?: any): Promise | R | undefined; doWithServices(provides: string, filter: string | undefined, cb: (services: ExpectedServiceType[]) => Promise | R, scope?: any): Promise | R | undefined; private _bindService; private _unbindService; } export { ServiceResolver as default };