import type { Action, ExtensionBuilder } from "../../../../core/index.js";
import type { CommonAnswer } from "../ErrorScreen/types.js";
import type { GptWidgetOptions } from "../types.js";
export type { GptWidgetOptions };
export declare const gptActionName = "addGptWidget";
export declare const gptExtension: <AnswerData extends CommonAnswer = CommonAnswer, PromptData extends unknown = unknown>(builder: ExtensionBuilder, options: GptWidgetOptions<AnswerData, PromptData>) => void;
declare global {
    namespace WysiwygEditor {
        interface Actions {
            [gptActionName]: Action<{}>;
        }
    }
}
