import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; /** * @internal * Service provides shared event listeners. * Better to move global event listeners here, instead of * using for example: fromEvent(document, 'click') in different places. * * In the case of using this service, you will have ONE listener, not many. **/ export declare class ɵGlobalEvents { private readonly document; private documentEventMap; constructor(document: Document); fromDocument(eventName: keyof DocumentEventMap): Observable; static ɵfac: i0.ɵɵFactoryDeclaration<ɵGlobalEvents, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ɵGlobalEvents>; }