@adguard/agtree
Version:
Tool set for working with adblock filter lists
17 lines (16 loc) • 712 B
TypeScript
import { BaseDeserializer } from '../base-deserializer.js';
import { type ElementHidingRuleBody } from '../../nodes/index.js';
import { type InputByteBuffer } from '../../utils/input-byte-buffer.js';
/**
* Deserializes element hiding rule body nodes from binary data.
* Populates the provided node with the deserialized data.
*/
export declare class ElementHidingBodyDeserializer extends BaseDeserializer {
/**
* Deserializes an element hiding rule body node from binary format.
*
* @param buffer ByteBuffer for reading binary data.
* @param node Destination node.
*/
static deserializeElementHidingBody(buffer: InputByteBuffer, node: Partial<ElementHidingRuleBody>): void;
}