/** * Low-level Effect wrappers for Window and its usage via Context. * @since 8.19.0 */ import * as Context from "@typed/context"; import * as Effect from "effect/Effect"; import type * as Scope from "effect/Scope"; import * as EventTarget from "./EventTarget.js"; /** * Context for the Window object * @since 8.19.0 * @category models */ export interface Window extends globalThis.Window { } /** * Context for the Window object * @since 8.19.0 * @category context */ export declare const Window: Context.Tagged; /** * Get the innerWidth from the Window * @since 8.19.0 * @category getters */ export declare const getInnerWidth: Effect.Effect; /** * Get the innerHeight from the Window * @since 8.19.0 * @category getters */ export declare const getInnerHeight: Effect.Effect; /** * Get the computed style of an Element * @since 8.19.0 * @category getters */ export declare const getComputedStyle: (el: Element) => Effect.Effect; /** * Add an event listener to the Window * @since 8.19.0 * @category events */ export declare const addWindowListener: (options: EventTarget.AddEventListenerOptions) => Effect.Effect; //# sourceMappingURL=Window.d.ts.map