moved rrweb-snapshot into packages/rrweb-snapshot

This commit is contained in:
Mark-fenng
2021-07-22 17:54:51 +08:00
parent 69cb5dece0
commit bc319d510c
53 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { serializedNodeWithId, idNodeMap, INode } from './types';
export declare function addHoverClass(cssText: string): string;
export declare function buildNodeWithSN(n: serializedNodeWithId, options: {
doc: Document;
map: idNodeMap;
skipChild?: boolean;
hackCss: boolean;
afterAppend?: (n: INode) => unknown;
}): INode | null;
declare function rebuild(n: serializedNodeWithId, options: {
doc: Document;
onVisit?: (node: INode) => unknown;
hackCss?: boolean;
afterAppend?: (n: INode) => unknown;
}): [Node | null, idNodeMap];
export default rebuild;