@adguard/agtree
Version:
Tool set for working with adblock filter lists
16 lines (15 loc) • 602 B
TypeScript
import { BaseSerializer } from '../base-serializer.js';
import { type ElementHidingRuleBody } from '../../nodes/index.js';
import type { OutputByteBuffer } from '../../utils/output-byte-buffer.js';
/**
* Serializer for element hiding rule body nodes.
*/
export declare class ElementHidingBodySerializer extends BaseSerializer {
/**
* Serializes an element hiding rule body node to binary format.
*
* @param node Node to serialize.
* @param buffer ByteBuffer for writing binary data.
*/
static serialize(node: ElementHidingRuleBody, buffer: OutputByteBuffer): void;
}