UNPKG

@adguard/agtree

Version:
16 lines (15 loc) 535 B
import { BaseSerializer } from './base-serializer.js'; import { type EmptyRule } from '../nodes/index.js'; import type { OutputByteBuffer } from '../utils/output-byte-buffer.js'; /** * Serializer for empty rule nodes. */ export declare class EmptyRuleSerializer extends BaseSerializer { /** * Serializes an empty rule node to binary format. * * @param node Node to serialize. * @param buffer ByteBuffer for writing binary data. */ static serialize(node: EmptyRule, buffer: OutputByteBuffer): void; }