import type { Node as ProseMirrorNode } from "@tiptap/pm/model"; import type { Editor } from "@tiptap/react"; import type { FieldValues, UseFormReturn } from "react-hook-form"; interface UseNodeAttributesProps { editor: Editor | null; element?: ProseMirrorNode; form: UseFormReturn; nodeType: string; } export declare const useNodeAttributes: ({ editor, element, form, nodeType, }: UseNodeAttributesProps) => { updateNodeAttributes: (attrs: Record) => void; }; export {};