"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mGptToolbarItem = void 0;
const types_1 = require("../../../../bundle/toolbar/types.js");
const extension_1 = require("../../../../i18n/gpt/extension/index.js");
const icons_1 = require("../../../../icons/index.js");
const constants_1 = require("../constants.js");
const commands_1 = require("./commands.js");
exports.mGptToolbarItem = {
    id: 'gpt',
    type: types_1.ToolbarDataType.SingleButton,
    hotkey: constants_1.gptHotKeys.openGptKeyTooltip,
    title: () => `${(0, extension_1.i18n)('help-with-text')}`,
    icon: { data: icons_1.GPTIcon },
    exec: (e) => (0, commands_1.showMarkupGpt)(e.cm),
    isActive: () => false,
    isEnable: () => true,
};
//# sourceMappingURL=toolbar.js.map
