/** * @license MIT * * Copyright (c) 2025 Aiden Bai * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { A as ToolbarState, C as ReactGrabAPI, D as SettableOptions, E as Rect, O as SourceInfo, S as PromptModeContext, T as ReactGrabState, _ as OverlayBounds, a as ActionContext, b as PluginHooks, c as AgentContext, d as DeepPartial, f as DragRect, g as Options, h as GrabbedBox, i as isInstrumentationActive, k as Theme, l as ContextMenuAction, m as ElementLabelVariant, o as ActionContextHooks, p as ElementLabelContext, s as ActivationMode, u as ContextMenuActionContext, v as Plugin, x as Position, y as PluginConfig } from "./copy-content-BoeDJ9l0.cjs"; import { a as getStack, i as formatElementInfo, n as generateSnippet, r as DEFAULT_THEME, t as init } from "./index-Ci1cIBwN.cjs"; //#region src/core/plugins/comment.d.ts declare const commentPlugin: Plugin; //#endregion //#region src/core/plugins/open.d.ts declare const openPlugin: Plugin; //#endregion //#region src/index.d.ts declare global { interface Window { __REACT_GRAB__?: ReactGrabAPI; __REACT_GRAB_DISABLED__?: boolean; } } declare const getGlobalApi: () => ReactGrabAPI | null; declare const setGlobalApi: (api: ReactGrabAPI | null) => void; declare const registerPlugin: (plugin: Plugin) => void; declare const unregisterPlugin: (name: string) => void; //#endregion export { type ActionContext, type ActionContextHooks, type ActivationMode, type AgentContext, type ContextMenuAction, type ContextMenuActionContext, DEFAULT_THEME, type DeepPartial, type DragRect, type ElementLabelContext, type ElementLabelVariant, type GrabbedBox, type Options, type OverlayBounds, type Plugin, type PluginConfig, type PluginHooks, type Position, type PromptModeContext, type ReactGrabAPI, type ReactGrabState, type Rect, type SettableOptions, type SourceInfo, type Theme, type ToolbarState, commentPlugin, formatElementInfo, generateSnippet, getGlobalApi, getStack, init, isInstrumentationActive, openPlugin, registerPlugin, setGlobalApi, unregisterPlugin };