import { Editor } from '@tiptap/react';
interface IBEditorImagePasteProbe {
    html?: string;
    itemTypes: string[];
}
interface IBEditorVideoPasteProbe {
    html?: string;
    text?: string;
}
export declare function resolveBEditorVideoEmbedUrl(url: string): string | null;
export declare function sanitizeBEditorLinkUrl(url: string): string | null;
export declare function sanitizeBEditorImageUrl(url: string): string | null;
export declare function sanitizeBEditorVideoUrl(url: string): string | null;
export declare function resolveBEditorPastedVideoEmbedUrl({ html, text }: IBEditorVideoPasteProbe): string | null;
export declare function shouldHandleBEditorImagePaste({ html, itemTypes }: IBEditorImagePasteProbe): boolean;
export declare function compressBEditorImageFile(file: File): Promise<string>;
export declare function insertCompressedBEditorImageFiles(editor: Editor, files: File[], compressImage?: (file: File) => Promise<string>): Promise<boolean>;
export {};
