/** * @class Suffixes * @description Manages the public and private suffix lists for domain parsing. */ export declare class Suffixes { private readonly publicSuffixes; private readonly privateSuffixes; /** * Initializes the Suffixes by loading and parsing the suffix data. * @param {string} tldData - The raw string data of the public suffix list. */ constructor(tldData: string); /** * Parses a part of the suffix data file. * @param {string} part - The raw string data to parse. * @returns {Set} A set of suffix rules. * @private */ private parsePart; /** * Returns the set of all suffix rules (public and private). * @returns {Set} A set of all suffix rules. */ getRules(): Set; /** * Checks if a given rule is a private suffix rule. * @param {string} rule - The rule to check. * @returns {boolean} True if the rule is private, false otherwise. */ isPrivate(rule: string): boolean; }