import { PlayerExtensionElement } from "../player-extension-element.js";
import { GoogleAnalyticsExtension, GoogleAnalyticsProps } from "@videojs/google-analytics";
//#region src/extensions/google-analytics/extension.d.ts
/**
* Adds the Google Analytics 4 (GA4) telemetry extension to the surrounding player.
*
* Renders nothing — place it inside the player and it monitors whichever media the player attaches, dispatching
* standard GA4 video events and interaction events (`play`, `pause`, `resume`, `end`, `seek`, `mute`, `unmute`,
* `fullscreenEnter`, `fullscreenExit`) to `window.dataLayer`.
*
* @example
* ```html
*
*
*
*
* ```;
*
* @internal
*/
declare class GoogleAnalyticsExtension$1 extends PlayerExtensionElement {
static readonly tagName = "google-analytics";
static properties: {
dataLayerName: {
type: StringConstructor;
attribute: string;
};
disableProgress: {
type: BooleanConstructor;
attribute: string;
};
debug: {
type: BooleanConstructor;
};
};
protected createExtension(): GoogleAnalyticsExtension;
get dataLayerName(): string | undefined;
set dataLayerName(value: string | null | undefined);
get disableProgress(): boolean;
set disableProgress(value: boolean);
get debug(): boolean;
set debug(value: boolean);
/**
* Video metadata and custom dimensions reported with GA4 events. Set `metadata-*` attributes for markup-only values;
* the property overrides attribute keys with the same name.
*/
get metadata(): GoogleAnalyticsProps['metadata'];
set metadata(value: GoogleAnalyticsProps['metadata']);
/** Optional callback to intercept dispatched events. */
get onEvent(): GoogleAnalyticsProps['onEvent'];
set onEvent(value: GoogleAnalyticsProps['onEvent']);
}
//#endregion
export { GoogleAnalyticsExtension$1 as GoogleAnalyticsExtension };
//# sourceMappingURL=extension.d.ts.map