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