import Manager from '../base/Manager'; import type TrackingDelegate from './TrackingDelegate'; /** * Generic Tracking manager. * Works with any TrackingDelegate implementation * without knowing the underlying library. */ export declare class TrackingManager extends Manager { /** * Configures the tracking service through the current delegate. * @param measurementId - The measurement ID (e.g., G-XXXXXXXXXX for GA4) * @param params - Optional configuration parameters */ config(measurementId: string, params?: Record): void; /** * Records an event through the current delegate. * @param eventName - The name of the event to track * @param params - Optional event parameters */ event(eventName: string, params?: Record): void; /** * Sets global parameters through the current delegate. * @param params - Parameters to set globally */ set(params: Record): void; /** * Retrieves a configuration value through the current delegate. * @param measurementId - The measurement ID to query * @param callback - Callback function that receives the value */ get(measurementId: string, callback: (value: any) => void): void; /** * Manages user consent through the current delegate. * @param command - Consent command (e.g., 'update', 'default') * @param params - Consent parameters */ consent(command: string, params?: Record): void; } export default TrackingManager;