// declare global { // interface Window { // oovvuuPlugin: PluginApi; // } // } // interface Embed { // ampEmbedCode: string; // articleId: string; // displayTitle: string; // embedCode: string; // embedId: string; // linkToDownloadThumbnail: string; // playerScriptUrl: string; // } // interface Video { // brightcoveAccountId: string; // brightcoveVideoId: string; // } // interface CmsConfig { // articleId: string; // clientId: string; // cmsName: string; // containerId?: string; // headline?: string; // onAddEmbed?: (embed: Embed) => void; // onAddVideo?: (video: Video) => void; // onClose?: () => void; // loginCallbackPath?: string; // } // interface PluginApi { // close: () => void; // getConfig: () => CmsConfig; // open: (config?: CmsConfig) => void; // setConfig: (config: CmsConfig) => void; // version: string; // handleLoginCallback: () => Promise; // } // export const oovvuuPlugin: PluginApi;