/** * Sentinel ZooKeeper Path Utilities * * Based on com.netease.is.yidun.sentinel.starter.ZookeeperConfigUtils * * Path format: /sentinel_rule_config/{app}/{ruleType} */ export declare class PathUtils { /** Group ID for Sentinel rules in ZooKeeper */ static readonly GROUP_ID = "sentinel_rule_config"; private static readonly ZK_PATH_SEPARATOR; private static readonly FLOW_RULE_DATA_ID_POSTFIX; private static readonly DEGRADE_RULE_DATA_ID_POSTFIX; private static readonly AUTHORITY_RULE_DATA_ID_POSTFIX; private static readonly PARAM_FLOW_RULE_DATA_ID_POSTFIX; /** * Get ZK path for flow rules * Path: /sentinel_rule_config/{app}/flowRules */ static getFlowRuleZkPath(app: string): string; /** * Get ZK path for degrade (circuit breaker) rules * Path: /sentinel_rule_config/{app}/degradeRules */ static getDegradeRuleZkPath(app: string): string; /** * Get ZK path for authority rules * Path: /sentinel_rule_config/{app}/authorityRules */ static getAuthorityRuleZkPath(app: string): string; /** * Get ZK path for param flow (hot parameter) rules * Path: /sentinel_rule_config/{app}/paramFlowRules */ static getParamFlowRuleZkPath(app: string): string; /** * Get base path for an application * Path: /sentinel_rule_config/{app} */ static getAppBasePath(app: string): string; /** * Get root path for all Sentinel rules * Path: /sentinel_rule_config */ static getRootPath(): string; /** * Build ZK path for a rule type */ private static buildPath; /** * Get all rule paths for an application */ static getAllRulePaths(app: string): { flowRules: string; degradeRules: string; paramFlowRules: string; authorityRules: string; }; } //# sourceMappingURL=PathUtils.d.ts.map