UNPKG

@adguard/agtree

Version:
11 lines (10 loc) 354 B
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;