import { Extension } from "@tiptap/core";
type PasteErrorEvent = {
    source: "paste";
    stage: "transform";
    message: string;
    error?: unknown;
};
interface HtmlPasteSanitizerOptions {
    onError?: (event: PasteErrorEvent) => void;
}
export declare const HtmlPasteSanitizer: Extension<HtmlPasteSanitizerOptions, any>;
export {};
