@adguard/agtree
Version:
Tool set for working with adblock filter lists
11 lines (10 loc) • 354 B
TypeScript
import { AdblockSyntax } from '../utils/adblockers.js';
/**
* Returns the adblock syntax based on the adblock name parsed from the agent type comment.
* Needed for modifiers validation of network rules by AGLint.
*
* @param name Adblock name.
*
* @returns Adblock syntax.
*/
export declare const getAdblockSyntax: (name: string) => AdblockSyntax;