import type { Overlay } from '@gibme/overlay'; declare global { interface JQuery { /** * Returns if the overlay for is open */ isOverlayOpen(): boolean; /** * Displays an overlay over the element * * @param action * @param options */ overlay(action: Overlay.Action, options?: Partial): JQuery; } interface JQueryStatic { /** * Returns if the overlay for is open */ isOverlayOpen(): boolean; /** * Displays an overlay over the element * * @param action * @param options */ overlay(action: Overlay.Action, options?: Partial): JQuery; } interface Window { Overlay: typeof Overlay; } } export {};