import { CfgIOManager, IOManagerListener } from "./CfgIOManager.js"; /** * Base class for classes handling input and output in globally shared environments, using * event listeners on the window object, for example the History API and window.message API. * These are global resources where data not being handled by Stage can appear. */ export declare abstract class CfgWindowEventManager extends CfgIOManager { /** * Listen for the message messageKey being received. This can for example be the history stack * being popped or a window.message being received. */ listenForMessage(l: IOManagerListener, messageKey: string): boolean; /** * Removes the listener */ stopListenForMessage(l: IOManagerListener): boolean; private _windowEventListenerBound; private _windowEventListener; protected abstract readonly eventType: K; protected abstract getDataFromEvent(event: WindowEventMap[K]): unknown; } //# sourceMappingURL=CfgWindowEventManager.d.ts.map