import type { QRL } from "@qwik.dev/core"; /** * Helper functions for adding/removing window event listeners with Qwik QRL handlers. * * Type-aware linting is strict and flags QRL handlers as incompatible with native addEventListener, * but QRLs work correctly at runtime. This pattern is needed when conditionally adding event listeners, * such as drag handlers that should only be active when dragging is enabled. */ export declare function addWindowEventListener(type: string, handler: QRL<(event: E) => void | Promise>, options?: boolean | AddEventListenerOptions): void; export declare function removeWindowEventListener(type: string, handler: QRL<(event: E) => void | Promise>, options?: boolean | EventListenerOptions): void;