Files
rrweb/typings/rebuild.d.ts
2019-04-01 11:47:49 +08:00

6 lines
378 B
TypeScript

import { serializedNodeWithId, idNodeMap, INode } from './types';
export declare function addHoverClass(cssText: string): string;
export declare function buildNodeWithSN(n: serializedNodeWithId, doc: Document, map: idNodeMap, skipChild?: boolean): INode | null;
declare function rebuild(n: serializedNodeWithId, doc: Document): [Node | null, idNodeMap];
export default rebuild;