import { Attrs, Node as ProseMirrorNode } from '@tiptap/pm/model';
import { Editor } from '@tiptap/core';

interface ResizableMediaAttributes {
    dataAlign: string;
    dataFloat: null | string;
}
type UpdateAttributes = (attrs: Partial<ResizableMediaAttributes>) => void;
type Action = (updateAttributes: UpdateAttributes, editor?: Editor, getPos?: (() => number | undefined) | boolean) => void;
interface ResizableMediaAction {
    tooltip: string;
    icon?: string;
    action?: Action;
    isActive?: (attrs: Attrs, node?: ProseMirrorNode) => boolean;
    delete?: (d: () => void) => void;
}
export declare const resizableMediaActions: ResizableMediaAction[];
export {};
