import type { FileUploadOptions } from '../types/options'; /** * File upload feature — inserts media previews or download links. */ export declare class FileFeature { private editorArea; private fileUploadUrl; private maxFileSize; constructor(editorArea: HTMLElement, opts: FileUploadOptions); triggerUpload(): void; private handleUpload; private insertUploadPlaceholder; private replacePlaceholderWithFigure; /** * Builds a
for the given file. * Public so content.ts restoreFromHTML and tests can reuse it. * * image/* → * video/* →