import { DeepstreamConfig, DeepstreamServices, DeepstreamPlugin } from '@deepstream/types'; export declare class DependencyInitialiser { private config; private services; private dependency; private name; private isReady; private timeout; private emitter; /** * This class is used to track the initialization of an individual service or plugin */ constructor(config: DeepstreamConfig, services: DeepstreamServices, dependency: DeepstreamPlugin, name: string); whenReady(): Promise; /** * Returns the underlying dependency (e.g. the Logger, StorageConnector etc.) */ getDependency(): DeepstreamPlugin; /** * Callback for succesfully initialised dependencies */ private onReady; /** * Callback for dependencies that weren't initialised in time */ private onTimeout; }