import { Extension } from '../../externals.js'; import { UmbTiptapExtensionApiBase } from '../tiptap-extension-api-base.js'; import type { UmbTiptapExtensionArgs } from '../types.js'; import type { UmbControllerHost } from '../../../../libs/controller-api/index.js'; export default class UmbTiptapMediaUploadExtensionApi extends UmbTiptapExtensionApiBase { #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; /** * @returns {Array} The allowed mime types for uploads */ get allowedFileTypes(): string[]; constructor(host: UmbControllerHost); getTiptapExtensions(args: UmbTiptapExtensionArgs): Extension[]; }