/**
 * Analytics Window Extensions
 * 
 * Type definitions for analytics scripts injected into window object
 */

/* eslint-disable @typescript-eslint/no-explicit-any */
declare global {
  interface Window {
    // Yandex Metrika
    ym: (counterId: number | string, method: string, ...args: any[]) => void;
    __YM_COUNTER_ID__?: number | string;

    // Google Analytics (GA4)
    gtag: (command: string, ...args: any[]) => void;
    dataLayer: any[];

    // Facebook Pixel
    fbq: (command: string, event: string, params?: Record<string, any>) => void;
    _fbq: any;
  }
}
/* eslint-enable @typescript-eslint/no-explicit-any */

export {};
