|
1 |
| -import { serializedNodeWithId, INode, idNodeMap, MaskInputOptions } from './types'; |
| 1 | +import { serializedNodeWithId, INode, idNodeMap, MaskInputOptions, SlimDOMOptions } from './types'; |
| 2 | +export declare const IGNORED_NODE = -2; |
2 | 3 | export declare function absoluteToStylesheet(cssText: string | null, href: string): string;
|
3 | 4 | export declare function absoluteToDoc(doc: Document, attributeValue: string): string;
|
4 | 5 | export declare function transformAttribute(doc: Document, name: string, value: string): string;
|
5 |
| -export declare function serializeNodeWithId(n: Node | INode, doc: Document, map: idNodeMap, blockClass: string | RegExp, skipChild?: boolean, inlineStylesheet?: boolean, maskInputOptions?: MaskInputOptions, recordCanvas?: boolean): serializedNodeWithId | null; |
6 |
| -declare function snapshot(n: Document, blockClass: string | RegExp | undefined, inlineStylesheet: boolean | undefined, maskAllInputsOrOptions: boolean | MaskInputOptions, recordCanvas?: boolean): [serializedNodeWithId | null, idNodeMap]; |
| 6 | +export declare function serializeNodeWithId(n: Node | INode, doc: Document, map: idNodeMap, blockClass: string | RegExp, skipChild?: boolean, inlineStylesheet?: boolean, maskInputOptions?: MaskInputOptions, slimDOMOptions?: SlimDOMOptions, recordCanvas?: boolean, preserveWhiteSpace?: boolean): serializedNodeWithId | null; |
| 7 | +declare function snapshot(n: Document, blockClass: string | RegExp | undefined, inlineStylesheet: boolean | undefined, maskAllInputsOrOptions: boolean | MaskInputOptions, slimDOMSensibleOrOptions: boolean | SlimDOMOptions, recordCanvas?: boolean): [serializedNodeWithId | null, idNodeMap]; |
7 | 8 | export declare function visitSnapshot(node: serializedNodeWithId, onVisit: (node: serializedNodeWithId) => unknown): void;
|
8 | 9 | export default snapshot;
|
0 commit comments