/**
* OmidSession — Full IAB OMID (Open Measurement Interface Definition) integration.
*
* Integrates with the IAB OMID Session Client SDK, which must be loaded by the page
* before ads play (e.g. ).
*
* The SDK exposes:
* window.OmidSessionClient — namespace containing AdSession, Context, Partner,
* VideoEvents, AdEvents, etc.
*
* Spec: https://iabtechlab.com/standards/open-measurement-sdk/
*
* Usage:
* if (OmidSession.isAvailable()) {
* const omid = new OmidSession(adVideo, verifications, 'limited');
* omid.impression();
* omid.start(duration, volume);
* // … quartile calls …
* omid.destroy();
* }
*/
import type { AdVerification } from './types';
type OmidPlayerState = 'normal' | 'minimized' | 'collapsed' | 'expanded' | 'fullscreen' | 'background';
type OmidInteractionType = 'click' | 'invocationCountExceeded' | 'acceptedLinearInvitation' | 'other';
export declare class OmidSession {
private adSession;
private videoEvents;
private adEvents;
private destroyed;
/**
* Returns true if the IAB OMID Session Client SDK is present on the page.
* Call this before constructing OmidSession to avoid unnecessary errors.
*/
static isAvailable(): boolean;
/**
* Injects a verification script into the page as a