import { Editor } from '@tiptap/react';
/**
 * Clean Microsoft Office specific HTML content
 */
export declare function cleanOfficeHTML(html: string): string;
/**
 * Clean Google Docs specific HTML content.
 *
 * Handles:
 * - Inline formatting span → strong/em/u conversion
 * - Google Docs wrapper/metadata removal
 * - Table normalization
 * - List cleanup
 * - Font-color preservation (background/text color)
 */
export declare function cleanGoogleDocsHTML(html: string): string;
/**
 * Handle paste event with smart detection.
 *
 * When `transformHTML` is provided and the pasted HTML contains images,
 * the callback is invoked asynchronously to transform the HTML (e.g. re-upload
 * images) before inserting into the editor.
 */
export declare function handlePaste(editor: Editor, event: ClipboardEvent, transformHTML?: (html: string) => Promise<string>): boolean;
/**
 * Handle Shift+Ctrl+V (Paste as plain text)
 */
export declare function handlePastePlainText(editor: Editor, event: ClipboardEvent): boolean;
