import type { Editor } from '../../externals.js'; import { UmbTiptapToolbarElementApiBase } from '../tiptap-toolbar-element-api-base.js'; import type { UmbControllerHost } from '../../../../libs/controller-api/index.js'; export default class UmbTiptapToolbarMediaPickerToolbarExtensionApi extends UmbTiptapToolbarElementApiBase { #private; /** * @returns {number} The configured maximum allowed image size */ get maxImageSize(): number; /** * @deprecated Use `maxImageSize` instead. * @returns {number} The maximum width of uploaded images */ maxWidth: number; constructor(host: UmbControllerHost); isActive(editor?: Editor): boolean; execute(editor: Editor): Promise; }