import { VastIcon, VASTTracker } from '@dailymotion/vast-client'; import { ReadableAtom } from 'nanostores'; import { AdStore } from './useVastAds'; export type GAMPlayerCore = { time: number; adCount: number; adPosition: number; skipDelay?: number; playing: boolean; adLoaded?: boolean; paused: boolean; reset: () => void; whyThisAd: VastIcon | null; hasAdUrl: boolean; playMuted: boolean; muted: boolean; autoplay: boolean; companionSrc?: string; title?: string; description?: string; imageSrc?: string; key?: string; adAction: (e: React.MouseEvent) => void; }; export declare const initialState: GAMPlayerCore; export declare const useGAMPlayer: (container: HTMLDivElement | null, vastAds: ReadableAtom, onEnd?: () => void, options?: { loop?: boolean; key?: string; autoPlayDelay?: number; controlVideo?: (props: { muted: boolean; play?: boolean; }) => void; }) => readonly [import('nanostores').PreinitializedMapStore & object, () => void, () => void, () => void, import('react').MutableRefObject, import('react').MutableRefObject, boolean];