import { type VideoBid } from '../../src/bidfactory.js'; import type { BidderCode } from "../../src/types/common.d.ts"; import type { ORTBImp, ORTBRequest } from "../../src/types/ortb/request.d.ts"; import type { DeepPartial } from "../../src/types/objects.d.ts"; import type { AdServerVendor } from "../../libraries/video/constants/vendorCodes.ts"; import type { VideoEvent } from "../../libraries/video/constants/events.ts"; declare module '../../src/events' { interface EventNames { video: VideoEvent; } } interface AdServerConfig { /** * The identifier of the AdServer vendor (i.e. gam, etc). */ vendorCode: AdServerVendor; /** * Your AdServer Ad Tag. The targeting params of the winning bid will be appended. */ baseAdTagUrl?: string; /** * Querystring parameters that will be used to construct the video ad tag URL. */ params?: Record; } interface AdUnitVideoOptions { /** * Unique identifier of the player provider, used to specify which player should be used to render the ad. * Equivalent to the HTML Div Id of the player. */ divId: string; /** * Configuration for ad server integration. Supersedes video.adServer configurations defined in the Prebid Config. */ adServer?: AdServerConfig; } declare module '../../src/adUnits' { interface AdUnitDefinition { video?: AdUnitVideoOptions; } } /** * This module adds User Video support to prebid.js * @module modules/videoModule */ export declare function PbVideo(videoCore_: any, getConfig_: any, pbGlobal_: any, requestBids_: any, pbEvents_: any, videoEvents_: any, gamAdServerFactory_: any, videoImpressionVerifierFactory_: any, adQueueCoordinator_: any): { init: () => void; renderBid: (divId: string, bid: VideoBid, options?: { [option: string]: unknown; adXml?: string; winner?: BidderCode; }) => void; getOrtbVideo: (divId: string) => DeepPartial; getOrtbContent: (divId: string) => DeepPartial; }; declare module '../../src/prebidGlobal' { interface PrebidJS { videoModule: ReturnType; } } export declare function pbVideoFactory(): { init: () => void; renderBid: (divId: string, bid: VideoBid, options?: { [option: string]: unknown; adXml?: string; winner?: BidderCode; }) => void; getOrtbVideo: (divId: string) => DeepPartial; getOrtbContent: (divId: string) => DeepPartial; }; export {};