export type TIsAdblockArgs = Parameters; export type TIsAdblockReturn = ReturnType; /** * Detects if an ad-blocker likely hides known ad-related elements. * Implementation detail: * Injects a hidden container with an "ad-like" child element * Measures computed style after a tick to infer blocking * * @returns {boolean} True if ad-blocking likely detected * @example * const blocked = isAdblock(); * console.log(blocked); // => false * @example * // Offer an ad-free subscription when an ad blocker is detected * if (isAdblock()) showAdFreeSubscriptionNotice(); */ export declare const isAdblock: () => boolean;