moved rrweb-snapshot into packages/rrweb-snapshot
This commit is contained in:
16
packages/rrweb-snapshot/typings/rebuild.d.ts
vendored
Normal file
16
packages/rrweb-snapshot/typings/rebuild.d.ts
vendored
Normal 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;
|
||||
Reference in New Issue
Block a user