import { Node } from 'prosemirror-model'; export interface TextblockAttrSpec { name: string; default: any; fromDOM: (dom: HTMLElement) => any; toStyles: (node: Node) => string[]; } export declare class TextblockAttrs { private specs; attrs: { [key: string]: { default: any; }; }; constructor(specs: TextblockAttrSpec[]); fromDOM(dom: HTMLElement): any; getStyle(node: Node): string; getDOMAttrsProperties(node: Node): { style?: undefined; } | { style: string; }; getDOMAttrs(node: Node): ({ style?: undefined; } | { style: string; })[]; extractFromNode(node: Node): any; }