import { Plugin } from 'prosemirror-state';
import type { CommonAnswer } from "./ErrorScreen/types.js";
import type { GptWidgetDecoViewParams } from "./gptExtension/view.js";
import { pluginKey } from "./plugin-key.js";
import type { GptWidgetMeta } from "./plugin-key.js";
export { pluginKey };
export type { GptWidgetMeta };
export declare const gptWidgetPlugin: <AnswerData extends CommonAnswer = CommonAnswer, PromptData extends unknown = unknown>(params: GptWidgetDecoViewParams<AnswerData, PromptData>) => Plugin;
