import { Application, ContextView, LifeCycleObserver } from '@loopback/core'; import { QueueService } from '../services'; /** * This class will be bound to the application as a `LifeCycleObserver` during * `boot` */ export declare class QueuesObserver implements LifeCycleObserver { application: Application; queueServices: QueueService; private queueConsumers; constructor(application: Application, queueServices: QueueService, queueConsumers: ContextView); /** * This method will be invoked when the application initializes. It will be * called at most once for a given application instance. */ init(): Promise; /** * This method will be invoked when the application starts. */ start(): Promise; /** * This method will be invoked when the application stops. */ stop(): Promise; }