import { type AnyCosmeticRule } from '../../nodes/index.js';
import { BaseDeserializer } from '../base-deserializer.js';
import { type InputByteBuffer } from '../../utils/input-byte-buffer.js';
/**
 * Deserializer for cosmetic rules.
 * Converts binary data into structured cosmetic rule nodes, supporting various types
 * like element hiding, CSS injection, scriptlet injection, JavaScript injection, and HTML filtering.
 * Handles rule type, syntax, exceptions, separators, modifiers, and domain lists.
 */
export declare class CosmeticRuleDeserializer extends BaseDeserializer {
    /**
     * Deserializes a cosmetic rule node from binary format.
     *
     * @param buffer ByteBuffer for reading binary data.
     * @param node Destination node.
     */
    static deserialize(buffer: InputByteBuffer, node: Partial<AnyCosmeticRule>): void;
}
