import type { MetrikaConfig, NotixResponse } from './types'; declare global { interface Window { ym?: (counterId: number, event: string, target: string, params?: Record) => void; Ya?: { Metrika?: { counterById?: Map) => void; }>; }; }; } } export declare function createMetrikaTracker(config?: MetrikaConfig): MetrikaTracker | null; export declare class MetrikaTracker { private counterId; private prefix; constructor(counterId: number, prefix: string); trackSent(response: NotixResponse): void; trackError(error: Error): void; trackFormCaptured(title: string, fieldsCount: number): void; trackGoal(name: string): void; private reachGoal; }