/** * @youranalytics/web-sdk - Core Build * Ultra-minimal analytics SDK (<3KB gzipped) * Basic tracking without adaptive networking */ interface Config { apiKey: string; endpoint: string; debug: boolean; autoTrack: boolean; maxQueueSize: number; flushInterval: number; sanitizeUrl?: (url: string) => string; } type Opts = Partial & { visitorId?: string; }; declare class Core { private cfg; private q; private vid; private sid; private timer; private ok; private lu; private ls; constructor(config: Opts & { apiKey: string; }); track(event: string, props?: Record): void; trackPV(): void; flush(): Promise; private url; private send; private build; private startTimer; destroy(): void; getVisitorId(): string; getSessionId(): string; } import { VERSION } from './version'; interface GA { version: string; instance: Core | null; init(apiKey: string, cfg?: Omit): Core; track(e: string, p?: Record): void; flush(): Promise; } declare const ga: GA; export { Core as Analytics, VERSION }; export default ga; //# sourceMappingURL=core.d.ts.map