import { Editor } from '@tiptap/core'; export declare function useAttributes(editor: Editor, attrbute: string, defaultValue?: T, map?: (arg: T) => R): R;