/*! * Jodit Editor PRO (https://xdsoft.net/jodit/) * See LICENSE.md in the project root for license information. * Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/ */ import type { IUIOption, IJodit } from 'jodit/types'; declare global { const Prism: { languages: { [key: string]: Function; }; highlight: (code: string, parser: any, language: string) => string; }; } declare module 'jodit/config' { interface Config { pasteCode: { globalHighlightLib: boolean; canonicalLanguageCode: (lang: string) => string; highlightLib: { highlight: (code: string, language: string) => string; isLangLoaded: (lang: string) => boolean; langUrl: (lang: string) => string; js: string[]; css: string[]; }; defaultLanguage: string; languages: IUIOption[]; insertTemplate: (jodit: IJodit, language: string, value: string) => string; dialog: { width: number; height: number; }; }; } }