import type { PushArgs } from "./types"; /** * Check if a string matches any of the provided regex patterns */ export declare const matchesAnyPattern: (str: string, patterns: RegExp[]) => boolean; /** * Clean URL by removing query params and hash fragments */ export declare const cleanUrlPath: (url: string) => string; /** * Trusted policy hooks for Trusted Types API */ export declare const trustedPolicyHooks: TrustedTypePolicyOptions; /** * Create and configure a Trusted Types policy sanitizer */ export declare const createSanitizer: (trustedPolicyName: string) => TrustedTypePolicyOptions | Pick, "name" | keyof TrustedTypePolicyOptions>; /** * Safely push commands to Matomo tracker with error handling * Some Matomo methods may not be available immediately after script load */ export declare const safePush: (pushFn: (args: PushArgs) => void, command: PushArgs, debug?: boolean) => void; //# sourceMappingURL=utils.d.ts.map