/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module uploadcare/uploadcare * @publicApi */ import { Plugin, type Editor, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core"; import { UploadcareUI } from "./uploadcareui.js"; import { UploadcareEditing } from "./uploadcareediting.js"; import * as UC from "@uploadcare/file-uploader/web/file-uploader.min.js"; declare global { interface HTMLElementTagNameMap { "uc-config": UC.Config; "uc-upload-ctx-provider": UC.UploadCtxProvider; "uc-file-uploader-inline": UC.FileUploaderInline; "uc-cloud-image-editor": UC.CloudImageEditor; } } /** * The Uploadcare feature, a bridge between the CKEditor 5 WYSIWYG editor and the Uploadcare file uploader. * * Check out the {@glink features/images/image-upload/image-upload Image upload} guide to learn about other ways to upload * images into CKEditor 5. */ export declare class Uploadcare extends Plugin { /** * @inheritDoc */ static get requires(): PluginDependenciesOf<[UploadcareEditing, UploadcareUI]>; /** * @inheritDoc */ static get pluginName(): "Uploadcare"; /** * @inheritDoc */ static override get isOfficialPlugin(): true; /** * @inheritDoc */ static override get isPremiumPlugin(): true; /** * @inheritDoc */ constructor(editor: Editor); }