import * as events from '../../src/events.js'; export declare const _internal: { ajax: (url: string, callback?: import("../../src/ajax.js").AjaxCallback, data?: unknown, options?: import("../../src/ajax.js").AjaxOptions) => void; }; declare const ENDPOINT = "endpoint"; declare const BUNDLE = "bundle"; type AnalyticsType = typeof ENDPOINT | typeof BUNDLE; export declare function setLabels(internalLabels: any): void; export declare const DEFAULT_INCLUDE_EVENTS: ("auctionInit" | "auctionTimeout" | "auctionEnd" | "bidAdjustment" | "bidTimeout" | "bidRequested" | "bidResponse" | "bidRejected" | "noBid" | "seatNonBid" | "bidWon" | "bidderDone" | "bidderError" | "setTargeting" | "beforeRequestBids" | "beforeBidderHttp" | "requestBids" | "addAdUnits" | "adRenderFailed" | "adRenderSucceeded" | "tcf2Enforcement" | "bidViewable" | "staleRender" | "expiredRender" | "billableEvent" | "bidAccepted" | "paapiRunAuction" | "pbsAnalytics" | "paapiBid" | "paapiNoBid" | "paapiError" | "beforePBSHttp" | "browsiInit" | "browsiData" | "browserIntervention")[]; export declare function setDebounceDelay(delay: any): void; export type AnalyticsProvider = string; export interface AnalyticsProviderConfig { } export type DefaultOptions = { /** * Sampling rate, expressed as a number between 0 and 1. Data is collected only on this ratio of browser sessions. * Defaults to 1 */ sampling?: number; }; export type AnalyticsConfig

= (P extends keyof AnalyticsProviderConfig ? AnalyticsProviderConfig[P] : { [key: string]: unknown; }) & { /** * Analytics adapter code */ provider: P; /** * Event whitelist; if provided, only these events will be forwarded to the adapter */ includeEvents?: (keyof events.Events)[]; /** * Event blacklist; if provided, these events will not be forwarded to the adapter */ excludeEvents?: (keyof events.Events)[]; /** * Adapter specific options */ options?: P extends keyof AnalyticsProviderConfig ? AnalyticsProviderConfig[P] : Record; }; export default function AnalyticsAdapter({ url, analyticsType, global, handler }: { analyticsType?: AnalyticsType; url?: string; global?: string; handler?: any; }): { track: (arg: any) => void; enqueue: ({ eventType, args }: { eventType: any; args: any; }) => void; enableAnalytics: (config: AnalyticsConfig) => void; disableAnalytics: () => void; getAdapterType: () => AnalyticsType; getGlobal: () => string; getHandler: () => any; getUrl: () => string; }; export {};