import type { Editor } from "@tiptap/core";
export type ImageDeleteParams = {
    src: string;
    alt?: string;
    title?: string;
};
export type FileDeleteParams = {
    url: string;
    name: string;
};
export type FileAttachmentClickParams = {
    url: string;
    name: string;
};
export type EditorCallbacks = {
    onImageDelete?: (params: ImageDeleteParams) => void;
    onFileDelete?: (params: FileDeleteParams) => void;
    onFileAttachmentClick?: (params: FileAttachmentClickParams) => void;
};
export declare function setEditorCallbacks(editor: Editor, partialCallbacks: Partial<EditorCallbacks>): void;
export declare function getEditorCallbacks(editor: Editor): EditorCallbacks;
export declare function clearEditorCallbacks(editor: Editor): void;
