declare global { interface Window { __s_games: any; } } export declare namespace EmbedChildUtils { const params: any; function init(origins: string[]): void; } export declare namespace EmbedParentUtils { export const scriptElement: HTMLScriptElement; export const scriptElementURL: URL; type OriginMap = { [hostname: string]: string; }; interface IParameters { scriptLookup: string | RegExp; target: string | HTMLElement; path: string; params?: any; origin: OriginMap | string; } export function init({ params, path, target, origin }: IParameters): void; export function getTarget(target: string | HTMLElement): HTMLElement; /** * get full url from partly given url from