import { AttachmentManager } from "../attachment-manager.js";
import { Node } from "@tiptap/core";
export interface AttachmentOptions {
    HTMLAttributes: Record<string, any>;
    fileUploadErrorMessage: string;
    captionPlaceholder: string;
    previewable: boolean;
    /**
     * Whether or not to enable  the alt text editor.
     */
    altTextEditor: boolean;
    /**
     * A function for determining whether or not to have ProseMirror / TipTap handle an event.
     * return `true` to have ProseMirror ignore it, `false` to have ProseMirror handle it.
     * <https://prosemirror.net/docs/ref/#view.NodeView.stopEvent>
     */
    shouldStopEvent: (e: Event) => boolean;
}
declare module "@tiptap/core" {
    interface Commands<ReturnType> {
        attachment: {
            /**
             * Add an attachment(s)
             */
            setAttachment: (options: AttachmentManager | AttachmentManager[]) => ReturnType;
            /**
             * Allows you to insert an attachment at a location within TipTap
             */
            setAttachmentAtCoords: (options: AttachmentManager | AttachmentManager[], coordinates: {
                top: number;
                left: number;
            }) => ReturnType;
        };
    }
}
export declare const figureTypes: string[];
export declare const Attachment: Node<AttachmentOptions, any>;
export declare const PreviewableAttachment: Node<AttachmentOptions, any>;
