/**
 * @file Path-in-domain converter helper.
 */
import { type AnyCosmeticRule, type AnyRule } from '../../nodes/index.js';
import { type NodeConversionResult } from '../base-interfaces/conversion-result.js';
/**
 * Converts path-in-domain syntax to $path modifier.
 *
 * Example: `example.org/path##.ad` → `[$path=/path]example.org##.ad`.
 *
 * @param rule Rule to check and convert.
 *
 * @returns Conversion result if path-in-domain syntax found, undefined otherwise.
 *
 * @throws RuleConversionError if conflicting $path modifier exists.
 */
export declare function convertPathInDomainToModifier(rule: AnyCosmeticRule): NodeConversionResult<AnyRule> | undefined;
