import { MarkType, NodeType } from '@sse-editor/pm/model'; import { EditorState } from '@sse-editor/pm/state'; export declare function getAttributes(state: EditorState, typeOrName: string | NodeType | MarkType): Record;