UNPKG

video-ad-sdk

Version:

VAST/VPAID SDK that allows video ads to be played on top of any player

12 lines (11 loc) 537 B
import type { VastMacro, MacroData } from '../../types'; /** * Parses the passed macro with the passed data and returns the resulting parsed Macro. * If no CACHEBUSTING property is passed in the data it will generate a random one on its own. * If no TIMESTAMP property is passed in the data it will generate a one on its own. * * @param macro The string macro to be parsed. * @param data The data used by the macro. * @returns The parsed macro. */ export declare const parseMacro: (macro: VastMacro, data?: MacroData) => string;