import { MarkExtensionSpec, NodeExtensionSpec, Shape } from '@remirror/core'; /** * Map standard html attribute names to their react equivalents. * * TODO is there a better way of doing this. */ export declare function mapProps(props: Shape): Shape; type SharedSpec = MarkExtensionSpec | NodeExtensionSpec; type GatheredDomMethods = Record; /** * Gather up all the toDOM methods from the provided spec object * * @param specs - the prosemirror schema specs for each node / mark */ export declare function gatherDomMethods(specs: Record): GatheredDomMethods; export {};