@schibsted/advertory 2.44.0-test-art-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (766) hide show
  1. package/core/aftonbladet/es/index.css +1 -0
  2. package/core/aftonbladet/es/index.d.ts +701 -0
  3. package/core/aftonbladet/es/index.js +1 -0
  4. package/core/aftonbladet/es/package.json +9 -0
  5. package/core/aftonbladet/index.d.ts +701 -0
  6. package/core/aftonbladet/index.js +1 -0
  7. package/core/aftonbladet/package.json +9 -0
  8. package/core/e24/es/index.css +1 -0
  9. package/core/e24/es/index.d.ts +699 -0
  10. package/core/e24/es/index.js +1 -0
  11. package/core/e24/es/package.json +9 -0
  12. package/core/e24/index.d.ts +699 -0
  13. package/core/e24/index.js +1 -0
  14. package/core/e24/package.json +9 -0
  15. package/features/ad-native/index.d.ts +492 -0
  16. package/features/ad-native/index.js +1 -0
  17. package/features/ad-native/package.json +9 -0
  18. package/features/brandmetrics/index.js +1 -0
  19. package/features/brandmetrics/package.json +9 -0
  20. package/features/common/es/index.js +1 -0
  21. package/features/common/es/package.json +9 -0
  22. package/features/common/index.js +1 -0
  23. package/features/common/package.json +9 -0
  24. package/features/dr-edition/es/index.d.ts +583 -0
  25. package/features/dr-edition/es/index.js +1 -0
  26. package/features/dr-edition/es/package.json +9 -0
  27. package/features/dr-edition/index.d.ts +583 -0
  28. package/features/dr-edition/index.js +1 -0
  29. package/features/dr-edition/package.json +9 -0
  30. package/features/glimr/glimr-BIcFSFRk.js +1 -0
  31. package/features/glimr/glimr-sdk-mS8sOhxy.js +1 -0
  32. package/features/glimr/index.js +1 -0
  33. package/features/glimr/package.json +9 -0
  34. package/features/tracker/index.d.ts +74 -0
  35. package/features/tracker/index.js +1 -0
  36. package/features/tracker/package.json +9 -0
  37. package/features/video/index.js +1 -0
  38. package/features/video/package.json +9 -0
  39. package/package.json +77 -0
  40. package/sites/aftonbladet/es/index.css +1 -0
  41. package/sites/aftonbladet/es/index.d.ts +29 -0
  42. package/sites/aftonbladet/es/index.js +1 -0
  43. package/sites/aftonbladet/es/package.json +9 -0
  44. package/sites/aftonbladet/index.d.ts +29 -0
  45. package/sites/aftonbladet/index.js +1 -0
  46. package/sites/aftonbladet/package.json +9 -0
  47. package/sites/e24/es/index.css +1 -0
  48. package/sites/e24/es/index.d.ts +29 -0
  49. package/sites/e24/es/index.js +1 -0
  50. package/sites/e24/es/package.json +9 -0
  51. package/sites/e24/index.d.ts +29 -0
  52. package/sites/e24/index.js +1 -0
  53. package/sites/e24/package.json +9 -0
  54. package/styles/aftonbladet/index.js +3 -0
  55. package/styles/aftonbladet/styles.css +1 -0
  56. package/styles/e24/index.js +3 -0
  57. package/styles/e24/styles.css +1 -0
  58. package/types/config/aftenposten.d.ts +3 -0
  59. package/types/config/aftonbladet.d.ts +4 -0
  60. package/types/config/aftonbladetv2.d.ts +4 -0
  61. package/types/config/bt.d.ts +3 -0
  62. package/types/config/e24.d.ts +3 -0
  63. package/types/config/e24v2.d.ts +3 -0
  64. package/types/config/godare.d.ts +3 -0
  65. package/types/config/godt.d.ts +4 -0
  66. package/types/config/klart.d.ts +4 -0
  67. package/types/config/kompakt.d.ts +3 -0
  68. package/types/config/minmote.d.ts +4 -0
  69. package/types/config/pent.d.ts +3 -0
  70. package/types/config/sa.d.ts +3 -0
  71. package/types/config/svd.d.ts +4 -0
  72. package/types/config/tek.d.ts +4 -0
  73. package/types/config/vg.d.ts +3 -0
  74. package/types/config/vgv2.d.ts +3 -0
  75. package/types/core/config.d.ts +15 -0
  76. package/types/core/config.test.d.ts +1 -0
  77. package/types/core/creative-observer/refresh.d.ts +6 -0
  78. package/types/core/creative-observer/refresh.test.d.ts +1 -0
  79. package/types/core/creative-observer/show-tag.d.ts +4 -0
  80. package/types/core/creative-observer/utils.d.ts +4 -0
  81. package/types/core/events/events.d.ts +3 -0
  82. package/types/core/events/fallback.d.ts +3 -0
  83. package/types/core/events/post-message.d.ts +2 -0
  84. package/types/core/events/refresh.d.ts +6 -0
  85. package/types/core/events/resize-ad.d.ts +2 -0
  86. package/types/core/events/set-ad-sizes.d.ts +4 -0
  87. package/types/core/events/visibility.d.ts +3 -0
  88. package/types/core/handlers/ad-format-keyword/index.d.ts +3 -0
  89. package/types/core/handlers/ad-format-keyword/index.test.d.ts +1 -0
  90. package/types/core/handlers/ad-format-type/index.d.ts +33 -0
  91. package/types/core/handlers/ad-format-type/index.test.d.ts +1 -0
  92. package/types/core/handlers/ad-invcode/index.d.ts +2 -0
  93. package/types/core/handlers/ad-invcode/index.test.d.ts +4 -0
  94. package/types/core/handlers/ad-position-placement/index.d.ts +3 -0
  95. package/types/core/handlers/ad-position-placement/index.test.d.ts +1 -0
  96. package/types/core/handlers/ad-rendering-management/index.d.ts +3 -0
  97. package/types/core/handlers/ad-server/default-data.d.ts +4 -0
  98. package/types/core/handlers/ad-server/index.d.ts +18 -0
  99. package/types/core/handlers/ad-server/index.test.d.ts +1 -0
  100. package/types/core/handlers/ad-server/placement-ordering.d.ts +4 -0
  101. package/types/core/handlers/ad-server/placement-ordering.test.d.ts +1 -0
  102. package/types/core/handlers/ad-server/placement.d.ts +10 -0
  103. package/types/core/handlers/ad-server/placement.test.d.ts +4 -0
  104. package/types/core/handlers/ad-supply-type/index.d.ts +2 -0
  105. package/types/core/handlers/ad-supply-type/index.test.d.ts +1 -0
  106. package/types/core/handlers/ad-targetid/index.d.ts +3 -0
  107. package/types/core/handlers/ad-targetid/index.test.d.ts +1 -0
  108. package/types/core/handlers/classname/index.d.ts +4 -0
  109. package/types/core/handlers/classname/index.test.d.ts +1 -0
  110. package/types/core/handlers/count-keyword/index.d.ts +3 -0
  111. package/types/core/handlers/count-keyword/index.test.d.ts +1 -0
  112. package/types/core/handlers/country-prefix/index.d.ts +4 -0
  113. package/types/core/handlers/country-prefix/index.test.d.ts +4 -0
  114. package/types/core/handlers/custom-keywords/index.d.ts +2 -0
  115. package/types/core/handlers/custom-keywords/index.test.d.ts +1 -0
  116. package/types/core/handlers/dynamic-outstream/index.d.ts +6 -0
  117. package/types/core/handlers/dynamic-outstream/index.test.d.ts +4 -0
  118. package/types/core/handlers/firefox-styles/index.d.ts +3 -0
  119. package/types/core/handlers/firefox-styles/index.test.d.ts +1 -0
  120. package/types/core/handlers/hash/index.d.ts +2 -0
  121. package/types/core/handlers/hash/index.test.d.ts +1 -0
  122. package/types/core/handlers/margins/index.d.ts +4 -0
  123. package/types/core/handlers/margins/index.test.d.ts +1 -0
  124. package/types/core/handlers/mediation/index.d.ts +3 -0
  125. package/types/core/handlers/mediation/index.test.d.ts +1 -0
  126. package/types/core/handlers/member/index.d.ts +3 -0
  127. package/types/core/handlers/member/index.test.d.ts +1 -0
  128. package/types/core/handlers/obituaries/index.d.ts +7 -0
  129. package/types/core/handlers/obituaries/index.test.d.ts +1 -0
  130. package/types/core/handlers/param/index.d.ts +7 -0
  131. package/types/core/handlers/param/index.test.d.ts +1 -0
  132. package/types/core/handlers/scale/index.d.ts +6 -0
  133. package/types/core/handlers/scale/index.test.d.ts +1 -0
  134. package/types/core/handlers/tcf/index.d.ts +4 -0
  135. package/types/core/handlers/tcf/index.test.d.ts +1 -0
  136. package/types/core/handlers/underline-keyword/index.d.ts +2 -0
  137. package/types/core/handlers/underline-keyword/index.test.d.ts +1 -0
  138. package/types/core/handlers/update-advertory/index.d.ts +6 -0
  139. package/types/core/handlers/update-advertory/index.test.d.ts +1 -0
  140. package/types/core/handlers/user/index.d.ts +4 -0
  141. package/types/core/handlers/user/index.test.d.ts +1 -0
  142. package/types/core/interface/ad-component.d.ts +15 -0
  143. package/types/core/interface/ad-types.d.ts +5 -0
  144. package/types/core/interface/alertory.d.ts +8 -0
  145. package/types/core/interface/ast.d.ts +277 -0
  146. package/types/core/interface/cmp.d.ts +2 -0
  147. package/types/core/interface/common.d.ts +8 -0
  148. package/types/core/interface/config.d.ts +292 -0
  149. package/types/core/interface/countries.d.ts +6 -0
  150. package/types/core/interface/device.d.ts +13 -0
  151. package/types/core/interface/dictionary.d.ts +10 -0
  152. package/types/core/interface/fallback.d.ts +5 -0
  153. package/types/core/interface/formats.d.ts +59 -0
  154. package/types/core/interface/http-client.d.ts +4 -0
  155. package/types/core/interface/keywords.d.ts +87 -0
  156. package/types/core/interface/library.d.ts +5 -0
  157. package/types/core/interface/local-storage-client.d.ts +6 -0
  158. package/types/core/interface/margins.d.ts +11 -0
  159. package/types/core/interface/module.d.ts +13 -0
  160. package/types/core/interface/newsrooms.d.ts +17 -0
  161. package/types/core/interface/observer.d.ts +7 -0
  162. package/types/core/interface/os.d.ts +1 -0
  163. package/types/core/interface/page-types.d.ts +8 -0
  164. package/types/core/interface/placement-groups.d.ts +5 -0
  165. package/types/core/interface/post-message.d.ts +9 -0
  166. package/types/core/interface/publishers.d.ts +15 -0
  167. package/types/core/interface/refresh.d.ts +4 -0
  168. package/types/core/interface/session-storage-client.d.ts +5 -0
  169. package/types/core/interface/storage.d.ts +18 -0
  170. package/types/core/interface/styles.d.ts +1 -0
  171. package/types/core/interface/tcf.d.ts +11 -0
  172. package/types/core/interface/update-advertory.d.ts +6 -0
  173. package/types/core/languages/dictionary.d.ts +3 -0
  174. package/types/core/logger/index.d.ts +2 -0
  175. package/types/core/prepare-page-options/prepare-page-options-no.d.ts +9 -0
  176. package/types/core/prepare-page-options/prepare-page-options-se.d.ts +9 -0
  177. package/types/core/prepare-page-options/prepare-page-options.d.ts +27 -0
  178. package/types/core/prepare-page-options/prepare-page-options.test.d.ts +1 -0
  179. package/types/core/prepare-tag/formatter.d.ts +2 -0
  180. package/types/core/prepare-tag/formatter.test.d.ts +1 -0
  181. package/types/core/prepare-tag/prepare-tag.d.ts +3 -0
  182. package/types/core/prepare-tag/prepare-tag.test.d.ts +1 -0
  183. package/types/core/prepare-tag/ssa.d.ts +3 -0
  184. package/types/core/prepare-tag/tag-config.d.ts +5 -0
  185. package/types/core/prepare-tag/tag-config.test.d.ts +1 -0
  186. package/types/core/storage.d.ts +10 -0
  187. package/types/core/utils/init.d.ts +4 -0
  188. package/types/features/ad-full-width/index.d.ts +4 -0
  189. package/types/features/ad-fullscreen-scroll/constants.d.ts +7 -0
  190. package/types/features/ad-fullscreen-scroll/format-types.d.ts +8 -0
  191. package/types/features/ad-fullscreen-scroll/formats-handler.d.ts +13 -0
  192. package/types/features/ad-fullscreen-scroll/formats-handler.test.d.ts +4 -0
  193. package/types/features/ad-fullscreen-scroll/index.d.ts +6 -0
  194. package/types/features/ad-fullscreen-scroll/observer.d.ts +9 -0
  195. package/types/features/ad-fullscreen-scroll/observer.test.d.ts +1 -0
  196. package/types/features/ad-fullscreen-scroll/scale-ad.d.ts +1 -0
  197. package/types/features/ad-native/ad-native-builder.d.ts +4 -0
  198. package/types/features/ad-native/ad-native-renderer.d.ts +3 -0
  199. package/types/features/ad-native/ad-native-styling.d.ts +5 -0
  200. package/types/features/ad-native/ad-native.d.ts +4 -0
  201. package/types/features/ad-native/index.d.ts +5 -0
  202. package/types/features/ad-native/sites/aftenposten/aftenposten-init.d.ts +4 -0
  203. package/types/features/ad-native/sites/aftenposten/index.d.ts +6 -0
  204. package/types/features/ad-native/sites/aftenposten/templates/content/index.d.ts +4 -0
  205. package/types/features/ad-native/sites/aftenposten/templates/index.d.ts +3 -0
  206. package/types/features/ad-native/sites/aftenposten/templates/recirc/index.d.ts +4 -0
  207. package/types/features/ad-native/sites/aftonbladet/aftonbladet-init.d.ts +5 -0
  208. package/types/features/ad-native/sites/aftonbladet/index.d.ts +6 -0
  209. package/types/features/ad-native/sites/aftonbladet/templates/chat-integration/index.d.ts +4 -0
  210. package/types/features/ad-native/sites/aftonbladet/templates/classic/alcohol-warning-label.d.ts +2 -0
  211. package/types/features/ad-native/sites/aftonbladet/templates/classic/index.d.ts +4 -0
  212. package/types/features/ad-native/sites/aftonbladet/templates/classic-video/classic-video.d.ts +4 -0
  213. package/types/features/ad-native/sites/aftonbladet/templates/classic-video/index.d.ts +3 -0
  214. package/types/features/ad-native/sites/aftonbladet/templates/content-display/content-display-basic.d.ts +4 -0
  215. package/types/features/ad-native/sites/aftonbladet/templates/content-display/content-display-gambling-articles.d.ts +4 -0
  216. package/types/features/ad-native/sites/aftonbladet/templates/content-display/index.d.ts +3 -0
  217. package/types/features/ad-native/sites/aftonbladet/templates/index.d.ts +3 -0
  218. package/types/features/ad-native/sites/aftonbladetv2/aftonbladet-init.d.ts +5 -0
  219. package/types/features/ad-native/sites/aftonbladetv2/index.d.ts +6 -0
  220. package/types/features/ad-native/sites/aftonbladetv2/templates/chat-integration/index.d.ts +4 -0
  221. package/types/features/ad-native/sites/aftonbladetv2/templates/classic/alcohol-warning-label.d.ts +2 -0
  222. package/types/features/ad-native/sites/aftonbladetv2/templates/classic/index.d.ts +4 -0
  223. package/types/features/ad-native/sites/aftonbladetv2/templates/classic-video/classic-video.d.ts +4 -0
  224. package/types/features/ad-native/sites/aftonbladetv2/templates/classic-video/index.d.ts +3 -0
  225. package/types/features/ad-native/sites/aftonbladetv2/templates/content-display/content-display-basic.d.ts +4 -0
  226. package/types/features/ad-native/sites/aftonbladetv2/templates/content-display/content-display-gambling-articles.d.ts +4 -0
  227. package/types/features/ad-native/sites/aftonbladetv2/templates/content-display/index.d.ts +3 -0
  228. package/types/features/ad-native/sites/aftonbladetv2/templates/index.d.ts +3 -0
  229. package/types/features/ad-native/sites/bt/bt-init.d.ts +5 -0
  230. package/types/features/ad-native/sites/bt/index.d.ts +6 -0
  231. package/types/features/ad-native/sites/bt/templates/content/index.d.ts +4 -0
  232. package/types/features/ad-native/sites/bt/templates/index.d.ts +3 -0
  233. package/types/features/ad-native/sites/default/default-init.d.ts +4 -0
  234. package/types/features/ad-native/sites/default/index.d.ts +6 -0
  235. package/types/features/ad-native/sites/default/templates/display/index.d.ts +4 -0
  236. package/types/features/ad-native/sites/default/templates/index.d.ts +3 -0
  237. package/types/features/ad-native/sites/default/templates/video/index.d.ts +3 -0
  238. package/types/features/ad-native/sites/default/templates/video/template.d.ts +4 -0
  239. package/types/features/ad-native/sites/e24/e24-init.d.ts +5 -0
  240. package/types/features/ad-native/sites/e24/index.d.ts +10 -0
  241. package/types/features/ad-native/sites/e24/templates/articles/content/index.d.ts +4 -0
  242. package/types/features/ad-native/sites/e24/templates/articles/content-display-basic/index.d.ts +4 -0
  243. package/types/features/ad-native/sites/e24/templates/articles/index.d.ts +3 -0
  244. package/types/features/ad-native/sites/e24/templates/articles/recirc/index.d.ts +4 -0
  245. package/types/features/ad-native/sites/e24/templates/front/content/index.d.ts +4 -0
  246. package/types/features/ad-native/sites/e24/templates/front/content-display-basic/index.d.ts +4 -0
  247. package/types/features/ad-native/sites/e24/templates/front/index.d.ts +3 -0
  248. package/types/features/ad-native/sites/e24v2/e24-init.d.ts +5 -0
  249. package/types/features/ad-native/sites/e24v2/index.d.ts +10 -0
  250. package/types/features/ad-native/sites/e24v2/templates/articles/content/index.d.ts +4 -0
  251. package/types/features/ad-native/sites/e24v2/templates/articles/content-display-basic/index.d.ts +4 -0
  252. package/types/features/ad-native/sites/e24v2/templates/articles/index.d.ts +3 -0
  253. package/types/features/ad-native/sites/e24v2/templates/articles/recirc/index.d.ts +4 -0
  254. package/types/features/ad-native/sites/e24v2/templates/front/aksjelive/index.d.ts +4 -0
  255. package/types/features/ad-native/sites/e24v2/templates/front/content/index.d.ts +4 -0
  256. package/types/features/ad-native/sites/e24v2/templates/front/content-display-basic/index.d.ts +4 -0
  257. package/types/features/ad-native/sites/e24v2/templates/front/index.d.ts +3 -0
  258. package/types/features/ad-native/sites/godare/godare-init.d.ts +5 -0
  259. package/types/features/ad-native/sites/godare/index.d.ts +6 -0
  260. package/types/features/ad-native/sites/godare/templates/index.d.ts +3 -0
  261. package/types/features/ad-native/sites/godare/templates/single-integration/index.d.ts +4 -0
  262. package/types/features/ad-native/sites/godare/templates/utils.d.ts +1 -0
  263. package/types/features/ad-native/sites/godt/godt-init.d.ts +4 -0
  264. package/types/features/ad-native/sites/godt/index.d.ts +6 -0
  265. package/types/features/ad-native/sites/godt/templates/content/content-video.d.ts +2 -0
  266. package/types/features/ad-native/sites/godt/templates/content/content.d.ts +2 -0
  267. package/types/features/ad-native/sites/godt/templates/content/helpers.d.ts +10 -0
  268. package/types/features/ad-native/sites/godt/templates/content/index.d.ts +2 -0
  269. package/types/features/ad-native/sites/godt/templates/index.d.ts +3 -0
  270. package/types/features/ad-native/sites/godt/templates/native/helpers.d.ts +8 -0
  271. package/types/features/ad-native/sites/godt/templates/native/index.d.ts +1 -0
  272. package/types/features/ad-native/sites/godt/templates/native/native-video.d.ts +2 -0
  273. package/types/features/ad-native/sites/godt/templates/weekly-menu/index.d.ts +3 -0
  274. package/types/features/ad-native/sites/godt/templates/weekly-menu/stripe.d.ts +2 -0
  275. package/types/features/ad-native/sites/godt/templates/weekly-menu/weekly-menu-video.d.ts +2 -0
  276. package/types/features/ad-native/sites/godt/templates/weekly-menu/weekly-menu.d.ts +2 -0
  277. package/types/features/ad-native/sites/klart/index.d.ts +6 -0
  278. package/types/features/ad-native/sites/klart/klart-init.d.ts +5 -0
  279. package/types/features/ad-native/sites/klart/templates/classic/alcohol-warning-label.d.ts +2 -0
  280. package/types/features/ad-native/sites/klart/templates/classic/index.d.ts +4 -0
  281. package/types/features/ad-native/sites/klart/templates/content-display/index.d.ts +4 -0
  282. package/types/features/ad-native/sites/klart/templates/index.d.ts +3 -0
  283. package/types/features/ad-native/sites/minmote/index.d.ts +6 -0
  284. package/types/features/ad-native/sites/minmote/minmote-init.d.ts +4 -0
  285. package/types/features/ad-native/sites/minmote/templates/content/content.d.ts +2 -0
  286. package/types/features/ad-native/sites/minmote/templates/content/contentVideo.d.ts +2 -0
  287. package/types/features/ad-native/sites/minmote/templates/content/helpers.d.ts +9 -0
  288. package/types/features/ad-native/sites/minmote/templates/content/index.d.ts +2 -0
  289. package/types/features/ad-native/sites/minmote/templates/index.d.ts +3 -0
  290. package/types/features/ad-native/sites/minmote/templates/native/helpers.d.ts +8 -0
  291. package/types/features/ad-native/sites/minmote/templates/native/index.d.ts +1 -0
  292. package/types/features/ad-native/sites/minmote/templates/native/nativeVideo.d.ts +2 -0
  293. package/types/features/ad-native/sites/pent/index.d.ts +6 -0
  294. package/types/features/ad-native/sites/pent/pent-init.d.ts +4 -0
  295. package/types/features/ad-native/sites/polaris/index.d.ts +6 -0
  296. package/types/features/ad-native/sites/polaris/polaris-init.d.ts +4 -0
  297. package/types/features/ad-native/sites/polaris/templates/content/index.d.ts +4 -0
  298. package/types/features/ad-native/sites/polaris/templates/index.d.ts +3 -0
  299. package/types/features/ad-native/sites/polaris/templates/profilertstilling/index.d.ts +4 -0
  300. package/types/features/ad-native/sites/polaris/templates/stilling/index.d.ts +4 -0
  301. package/types/features/ad-native/sites/sa/index.d.ts +6 -0
  302. package/types/features/ad-native/sites/sa/sa-init.d.ts +4 -0
  303. package/types/features/ad-native/sites/sa/templates/content/index.d.ts +4 -0
  304. package/types/features/ad-native/sites/sa/templates/index.d.ts +3 -0
  305. package/types/features/ad-native/sites/shared/higher-order-functions/video.d.ts +3 -0
  306. package/types/features/ad-native/sites/shared/index.d.ts +5 -0
  307. package/types/features/ad-native/sites/shared/player-events.d.ts +5 -0
  308. package/types/features/ad-native/sites/shared/templates/abo/content-video/content-video.d.ts +4 -0
  309. package/types/features/ad-native/sites/shared/templates/abo/content-video/index.d.ts +3 -0
  310. package/types/features/ad-native/sites/shared/templates/abo/default/index.d.ts +4 -0
  311. package/types/features/ad-native/sites/shared/templates/abo/index.d.ts +3 -0
  312. package/types/features/ad-native/sites/shared/templates/abo/podme-section/index.d.ts +4 -0
  313. package/types/features/ad-native/sites/shared/templates/abo/recirc/index.d.ts +4 -0
  314. package/types/features/ad-native/sites/shared/templates/abo/video/index.d.ts +3 -0
  315. package/types/features/ad-native/sites/shared/templates/abo/video/template.d.ts +4 -0
  316. package/types/features/ad-native/sites/shared/templates/content-display-basic/content-display-basic-article.d.ts +4 -0
  317. package/types/features/ad-native/sites/shared/templates/content-display-basic/content-display-basic.d.ts +4 -0
  318. package/types/features/ad-native/sites/shared/templates/content-display-basic/index.d.ts +3 -0
  319. package/types/features/ad-native/sites/shared/templates/no/index.d.ts +3 -0
  320. package/types/features/ad-native/sites/shared/templates/no/native-recirc/index.d.ts +4 -0
  321. package/types/features/ad-native/sites/shared/templates/no/native-template/index.d.ts +4 -0
  322. package/types/features/ad-native/sites/shared/templates/video/index.d.ts +3 -0
  323. package/types/features/ad-native/sites/shared/templates/video/video.d.ts +4 -0
  324. package/types/features/ad-native/sites/svd/index.d.ts +6 -0
  325. package/types/features/ad-native/sites/svd/svd-init.d.ts +5 -0
  326. package/types/features/ad-native/sites/svd/templates/brandstudio-classic/index.d.ts +4 -0
  327. package/types/features/ad-native/sites/svd/templates/brandstudio-classic/panorama/index.d.ts +3 -0
  328. package/types/features/ad-native/sites/svd/templates/content-display/index.d.ts +4 -0
  329. package/types/features/ad-native/sites/svd/templates/index.d.ts +3 -0
  330. package/types/features/ad-native/sites/svd/templates/podme/index.d.ts +4 -0
  331. package/types/features/ad-native/sites/svd/templates/podme-section/index.d.ts +4 -0
  332. package/types/features/ad-native/sites/tek/index.d.ts +6 -0
  333. package/types/features/ad-native/sites/tek/tek-init.d.ts +4 -0
  334. package/types/features/ad-native/sites/tek/templates/content/content-video.d.ts +2 -0
  335. package/types/features/ad-native/sites/tek/templates/content/content.d.ts +2 -0
  336. package/types/features/ad-native/sites/tek/templates/content/helpers.d.ts +10 -0
  337. package/types/features/ad-native/sites/tek/templates/content/index.d.ts +2 -0
  338. package/types/features/ad-native/sites/tek/templates/index.d.ts +3 -0
  339. package/types/features/ad-native/sites/tek/templates/native/helpers.d.ts +9 -0
  340. package/types/features/ad-native/sites/tek/templates/native/index.d.ts +1 -0
  341. package/types/features/ad-native/sites/tek/templates/native/native-video.d.ts +2 -0
  342. package/types/features/ad-native/sites/vg/index.d.ts +6 -0
  343. package/types/features/ad-native/sites/vg/templates/content/content-video.d.ts +4 -0
  344. package/types/features/ad-native/sites/vg/templates/content/content.d.ts +4 -0
  345. package/types/features/ad-native/sites/vg/templates/content/index.d.ts +3 -0
  346. package/types/features/ad-native/sites/vg/templates/default-template/index.d.ts +4 -0
  347. package/types/features/ad-native/sites/vg/templates/fishfinger/index.d.ts +7 -0
  348. package/types/features/ad-native/sites/vg/templates/index.d.ts +3 -0
  349. package/types/features/ad-native/sites/vg/templates/inhouse/index.d.ts +4 -0
  350. package/types/features/ad-native/sites/vg/templates/podme/index.d.ts +4 -0
  351. package/types/features/ad-native/sites/vg/templates/podme_section/index.d.ts +4 -0
  352. package/types/features/ad-native/sites/vg/templates/recirc/index.d.ts +4 -0
  353. package/types/features/ad-native/sites/vg/templates/seamless-image/index.d.ts +4 -0
  354. package/types/features/ad-native/sites/vg/templates/shopping_affiliate/index.d.ts +4 -0
  355. package/types/features/ad-native/sites/vg/templates/ukesmeny/index.d.ts +4 -0
  356. package/types/features/ad-native/sites/vg/templates/ukesmeny-sponsor-stripe/index.d.ts +5 -0
  357. package/types/features/ad-native/sites/vg/templates/ukesmeny-video/index.d.ts +4 -0
  358. package/types/features/ad-native/sites/vg/templates/ukesmeny-video/videoTemplate.d.ts +4 -0
  359. package/types/features/ad-native/sites/vg/templates/utils/title-scalling/font-size-optimizer.d.ts +7 -0
  360. package/types/features/ad-native/sites/vg/templates/utils/title-scalling/font-size-optimizer.test.d.ts +1 -0
  361. package/types/features/ad-native/sites/vg/templates/utils/title-scalling/font-size-width.d.ts +4 -0
  362. package/types/features/ad-native/sites/vg/templates/utils/title-scalling/index.d.ts +6 -0
  363. package/types/features/ad-native/sites/vg/templates/utils/title-scalling/types.d.ts +9 -0
  364. package/types/features/ad-native/sites/vg/templates/video/index.d.ts +3 -0
  365. package/types/features/ad-native/sites/vg/templates/video/video.d.ts +4 -0
  366. package/types/features/ad-native/sites/vg/vg-init.d.ts +5 -0
  367. package/types/features/ad-native/sites/vgv2/index.d.ts +6 -0
  368. package/types/features/ad-native/sites/vgv2/templates/content/content-video.d.ts +4 -0
  369. package/types/features/ad-native/sites/vgv2/templates/content/content.d.ts +4 -0
  370. package/types/features/ad-native/sites/vgv2/templates/content/index.d.ts +3 -0
  371. package/types/features/ad-native/sites/vgv2/templates/default-template/index.d.ts +4 -0
  372. package/types/features/ad-native/sites/vgv2/templates/fishfinger/index.d.ts +7 -0
  373. package/types/features/ad-native/sites/vgv2/templates/index.d.ts +3 -0
  374. package/types/features/ad-native/sites/vgv2/templates/inhouse/index.d.ts +4 -0
  375. package/types/features/ad-native/sites/vgv2/templates/podme/index.d.ts +4 -0
  376. package/types/features/ad-native/sites/vgv2/templates/podme_section/index.d.ts +4 -0
  377. package/types/features/ad-native/sites/vgv2/templates/recirc/index.d.ts +4 -0
  378. package/types/features/ad-native/sites/vgv2/templates/seamless-image/index.d.ts +4 -0
  379. package/types/features/ad-native/sites/vgv2/templates/shopping_affiliate/index.d.ts +4 -0
  380. package/types/features/ad-native/sites/vgv2/templates/ukesmeny/index.d.ts +4 -0
  381. package/types/features/ad-native/sites/vgv2/templates/ukesmeny-sponsor-stripe/index.d.ts +5 -0
  382. package/types/features/ad-native/sites/vgv2/templates/ukesmeny-video/index.d.ts +4 -0
  383. package/types/features/ad-native/sites/vgv2/templates/ukesmeny-video/videoTemplate.d.ts +4 -0
  384. package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/font-size-optimizer.d.ts +7 -0
  385. package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/font-size-optimizer.test.d.ts +1 -0
  386. package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/font-size-width.d.ts +4 -0
  387. package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/index.d.ts +6 -0
  388. package/types/features/ad-native/sites/vgv2/templates/utils/title-scalling/types.d.ts +9 -0
  389. package/types/features/ad-native/sites/vgv2/templates/video/index.d.ts +3 -0
  390. package/types/features/ad-native/sites/vgv2/templates/video/video.d.ts +4 -0
  391. package/types/features/ad-native/sites/vgv2/vg-init.d.ts +5 -0
  392. package/types/features/ad-native/trackers/trackers.d.ts +5 -0
  393. package/types/features/ad-native/trackers/trackers.test.d.ts +1 -0
  394. package/types/features/ad-skyscrapers-split/components/SkyscrapersTrack.d.ts +3 -0
  395. package/types/features/ad-skyscrapers-split/components/types.d.ts +3 -0
  396. package/types/features/ad-skyscrapers-split/index.d.ts +2 -0
  397. package/types/features/ad-sponsorstripe/placement/index.d.ts +2 -0
  398. package/types/features/ad-sponsorstripe/scripts/index.d.ts +5 -0
  399. package/types/features/ad-sponsorstripe/scripts/observer.d.ts +2 -0
  400. package/types/features/ad-sponsorstripe/scripts/video-player-observer.d.ts +1 -0
  401. package/types/features/ad-sponsorstripe/scripts/visibility-observer.d.ts +2 -0
  402. package/types/features/ad-sponsorstripe/scripts/width-resizer.d.ts +2 -0
  403. package/types/features/ad-sponsorstripe/sites/abo/index.d.ts +4 -0
  404. package/types/features/ad-sponsorstripe/sites/aftonbladet/index.d.ts +4 -0
  405. package/types/features/ad-sponsorstripe/sites/godt/index.d.ts +2 -0
  406. package/types/features/ad-sponsorstripe/sites/minmote/index.d.ts +2 -0
  407. package/types/features/ad-sponsorstripe/sites/svd/index.d.ts +4 -0
  408. package/types/features/ad-sponsorstripe/sites/tek/index.d.ts +2 -0
  409. package/types/features/ad-sponsorstripe/sites/vg/index.d.ts +4 -0
  410. package/types/features/ad-takeover/config.d.ts +5 -0
  411. package/types/features/ad-takeover/handlers/cls-handler.d.ts +3 -0
  412. package/types/features/ad-takeover/handlers/events-handler.d.ts +13 -0
  413. package/types/features/ad-takeover/handlers/events-handler.test.d.ts +1 -0
  414. package/types/features/ad-takeover/handlers/formats-handler.d.ts +2 -0
  415. package/types/features/ad-takeover/handlers/insert-assets-handler.d.ts +4 -0
  416. package/types/features/ad-takeover/handlers/insert-assets-handler.test.d.ts +1 -0
  417. package/types/features/ad-takeover/handlers/lock-page.d.ts +3 -0
  418. package/types/features/ad-takeover/handlers/show-variant-handler.d.ts +3 -0
  419. package/types/features/ad-takeover/handlers/show-variant-handler.test.d.ts +1 -0
  420. package/types/features/ad-takeover/handlers/visibility-observer-handler.d.ts +2 -0
  421. package/types/features/ad-takeover/handlers/visibility-observer-handler.test.d.ts +1 -0
  422. package/types/features/ad-takeover/index.d.ts +5 -0
  423. package/types/features/ad-takeover/placement/formats/splash/index.d.ts +3 -0
  424. package/types/features/ad-takeover/placement/formats/topscroller/index.d.ts +3 -0
  425. package/types/features/ad-takeover/placement/formats/welcome-page/index.d.ts +3 -0
  426. package/types/features/ad-takeover/placement/index.d.ts +3 -0
  427. package/types/features/ad-takeover/utils.d.ts +14 -0
  428. package/types/features/ad-wallpaper/constants.d.ts +5 -0
  429. package/types/features/ad-wallpaper/index.d.ts +8 -0
  430. package/types/features/ad-wallpaper/wallpaper-listener.d.ts +2 -0
  431. package/types/features/ad-wallpaper/wallpaper-styling-setters.d.ts +5 -0
  432. package/types/features/adblock/index.d.ts +3 -0
  433. package/types/features/alertory/index.d.ts +5 -0
  434. package/types/features/alertory/locator.d.ts +3 -0
  435. package/types/features/alertory/site-config.d.ts +8 -0
  436. package/types/features/alertory/test-id.d.ts +5 -0
  437. package/types/features/alertory/test-id.test.d.ts +1 -0
  438. package/types/features/brandmetrics/Brandmetrics.d.ts +3 -0
  439. package/types/features/brandmetrics/index.d.ts +3 -0
  440. package/types/features/cogwheel/index.d.ts +2 -0
  441. package/types/features/cogwheel/index.test.d.ts +1 -0
  442. package/types/features/common/formats/Netboard/index.d.ts +3 -0
  443. package/types/features/common/formats/Skyscraper/index.d.ts +3 -0
  444. package/types/features/common/formats/Sponsorstripe/index.d.ts +3 -0
  445. package/types/features/common/formats/Wallpaper/index.d.ts +3 -0
  446. package/types/features/common/formats/helpers.d.ts +5 -0
  447. package/types/features/common/formats/index.d.ts +4 -0
  448. package/types/features/common/index.d.ts +1 -0
  449. package/types/features/dr-edition/DrEdition.d.ts +4 -0
  450. package/types/features/dr-edition/composition.d.ts +6 -0
  451. package/types/features/dr-edition/constants.d.ts +11 -0
  452. package/types/features/dr-edition/dr-edition-manager.d.ts +16 -0
  453. package/types/features/dr-edition/dr-edition-service.d.ts +10 -0
  454. package/types/features/dr-edition/handlers.d.ts +7 -0
  455. package/types/features/dr-edition/handlers.test.d.ts +1 -0
  456. package/types/features/dr-edition/index.d.ts +4 -0
  457. package/types/features/dr-edition/observer.d.ts +5 -0
  458. package/types/features/dr-edition/pulse-manager/default-pulse-manager.d.ts +17 -0
  459. package/types/features/dr-edition/pulse-manager/index.d.ts +4 -0
  460. package/types/features/dr-edition/pulse-manager/no-pulse-manager.d.ts +15 -0
  461. package/types/features/dr-edition/pulse-manager/se-pulse-manager.d.ts +13 -0
  462. package/types/features/dr-edition/renderer.d.ts +8 -0
  463. package/types/features/dr-edition/strategies/aftonbladet/index.d.ts +8 -0
  464. package/types/features/dr-edition/strategies/default.d.ts +8 -0
  465. package/types/features/dr-edition/strategies/e24/index.d.ts +10 -0
  466. package/types/features/dr-edition/strategies/vg/index.d.ts +11 -0
  467. package/types/features/dr-edition/types.d.ts +124 -0
  468. package/types/features/dr-edition/utils/html.d.ts +2 -0
  469. package/types/features/dr-edition/utils/url.d.ts +2 -0
  470. package/types/features/dr-edition/video-manager.d.ts +10 -0
  471. package/types/features/editable-configuration/constants.d.ts +3 -0
  472. package/types/features/editable-configuration/fetch-s3-config.d.ts +5 -0
  473. package/types/features/editable-configuration/fetch-s3-config.test.d.ts +1 -0
  474. package/types/features/editable-configuration/index.d.ts +3 -0
  475. package/types/features/editable-configuration/index.test.d.ts +1 -0
  476. package/types/features/editable-configuration/merge-configs.d.ts +4 -0
  477. package/types/features/editable-configuration/merge-configs.test.d.ts +1 -0
  478. package/types/features/finn-blink/config.d.ts +3 -0
  479. package/types/features/finn-blink/events.d.ts +5 -0
  480. package/types/features/finn-blink/finn-blink.d.ts +4 -0
  481. package/types/features/finn-blink/index.d.ts +3 -0
  482. package/types/features/finn-blink/renderer.d.ts +4 -0
  483. package/types/features/finn-blink/replacement-blink.d.ts +4 -0
  484. package/types/features/finn-blink/tcf.d.ts +2 -0
  485. package/types/features/finn-blink/tcf.test.d.ts +1 -0
  486. package/types/features/glimr/constants.d.ts +9 -0
  487. package/types/features/glimr/glimr-core-handler.d.ts +3 -0
  488. package/types/features/glimr/glimr-core-handler.test.d.ts +1 -0
  489. package/types/features/glimr/glimr-tag-filters.d.ts +4 -0
  490. package/types/features/glimr/glimr-tag-filters.test.d.ts +4 -0
  491. package/types/features/glimr/glimr-tags-handler.d.ts +4 -0
  492. package/types/features/glimr/glimr-tags-handler.test.d.ts +4 -0
  493. package/types/features/glimr/index.d.ts +2 -0
  494. package/types/features/interface/ad-native.d.ts +134 -0
  495. package/types/features/interface/ad-takeover.d.ts +6 -0
  496. package/types/features/interface/alertory.d.ts +18 -0
  497. package/types/features/interface/editable-configuration.d.ts +16 -0
  498. package/types/features/interface/finn-blink.d.ts +42 -0
  499. package/types/features/interface/fullscreen-scroll.d.ts +4 -0
  500. package/types/features/interface/glimr.d.ts +6 -0
  501. package/types/features/interface/player.d.ts +9 -0
  502. package/types/features/interface/prebid.d.ts +49 -0
  503. package/types/features/interface/privacy-broker.d.ts +16 -0
  504. package/types/features/interface/tracker.d.ts +91 -0
  505. package/types/features/norstat/index.d.ts +4 -0
  506. package/types/features/norstat/index.test.d.ts +1 -0
  507. package/types/features/player/events.d.ts +5 -0
  508. package/types/features/player/index.d.ts +1 -0
  509. package/types/features/player/player.d.ts +4 -0
  510. package/types/features/player/plugins/index.d.ts +2 -0
  511. package/types/features/player/plugins/mute/index.d.ts +2 -0
  512. package/types/features/player/plugins/ukesmeny-video/index.d.ts +2 -0
  513. package/types/features/player/types.d.ts +12 -0
  514. package/types/features/player/wait.d.ts +2 -0
  515. package/types/features/prebid/index.d.ts +1 -0
  516. package/types/features/prebid/prebid.d.ts +3 -0
  517. package/types/features/prebid/prebid.test.d.ts +1 -0
  518. package/types/features/prebid/relevant-yield-data.d.ts +4 -0
  519. package/types/features/prebid/relevant-yield-data.test.d.ts +1 -0
  520. package/types/features/prebid/window-properties-getters.d.ts +6 -0
  521. package/types/features/privacy-broker/constants.d.ts +2 -0
  522. package/types/features/privacy-broker/fetch-permissions.d.ts +3 -0
  523. package/types/features/privacy-broker/fetch-permissions.test.d.ts +1 -0
  524. package/types/features/privacy-broker/get-identity-object.d.ts +3 -0
  525. package/types/features/privacy-broker/identity-facade.d.ts +9 -0
  526. package/types/features/privacy-broker/identity-facade.test.d.ts +1 -0
  527. package/types/features/privacy-broker/index.d.ts +2 -0
  528. package/types/features/privacy-broker/permissions.d.ts +3 -0
  529. package/types/features/privacy-broker/permissions.test.d.ts +1 -0
  530. package/types/features/privacy-broker/session-storage.d.ts +7 -0
  531. package/types/features/privacy-broker/session-storage.test.d.ts +1 -0
  532. package/types/features/tracker/constants.d.ts +34 -0
  533. package/types/features/tracker/eid-mapping-builder.d.ts +12 -0
  534. package/types/features/tracker/eid-mapping-builder.test.d.ts +1 -0
  535. package/types/features/tracker/get-page-view-id.d.ts +3 -0
  536. package/types/features/tracker/index.d.ts +10 -0
  537. package/types/features/tracker/keys.d.ts +5 -0
  538. package/types/features/tracker/ppidsv2-manager.d.ts +9 -0
  539. package/types/features/tracker/ppidsv3-manager.d.ts +17 -0
  540. package/types/features/tracker/ppidsv3-manager.test.d.ts +1 -0
  541. package/types/features/video/index.d.ts +1 -0
  542. package/types/features/video/tcf.d.ts +4 -0
  543. package/types/interface/glimr.d.ts +5 -0
  544. package/types/interface/global.d.ts +41 -0
  545. package/types/interface/png-module.d.ts +4 -0
  546. package/types/interface/png-rollup-module.d.ts +4 -0
  547. package/types/interface/scss-modules.d.ts +1 -0
  548. package/types/sites/aftenposten/config.d.ts +3 -0
  549. package/types/sites/aftenposten/events.d.ts +14 -0
  550. package/types/sites/aftenposten/formats/Netboard/index.d.ts +3 -0
  551. package/types/sites/aftenposten/formats/Skyscraper/index.d.ts +3 -0
  552. package/types/sites/aftenposten/formats/Topboard/index.d.ts +3 -0
  553. package/types/sites/aftenposten/formats/Wallpaper/index.d.ts +2 -0
  554. package/types/sites/aftenposten/formats/helpers.d.ts +4 -0
  555. package/types/sites/aftenposten/formats/index.d.ts +4 -0
  556. package/types/sites/aftenposten/index.d.ts +4 -0
  557. package/types/sites/aftenposten/prepare-page-options.d.ts +3 -0
  558. package/types/sites/aftenposten/prepare-page-options.test.d.ts +1 -0
  559. package/types/sites/aftenposten/prepare-tag.d.ts +3 -0
  560. package/types/sites/aftenposten/prepare-tag.test.d.ts +1 -0
  561. package/types/sites/aftonbladet/config.d.ts +3 -0
  562. package/types/sites/aftonbladet/events.d.ts +14 -0
  563. package/types/sites/aftonbladet/formats/Insider/index.d.ts +3 -0
  564. package/types/sites/aftonbladet/formats/Integration/index.d.ts +3 -0
  565. package/types/sites/aftonbladet/formats/Panorama/index.d.ts +3 -0
  566. package/types/sites/aftonbladet/formats/Sponsorstripe/helpers.d.ts +4 -0
  567. package/types/sites/aftonbladet/formats/Sponsorstripe/index.d.ts +3 -0
  568. package/types/sites/aftonbladet/formats/Widescreen/helpers.d.ts +2 -0
  569. package/types/sites/aftonbladet/formats/Widescreen/index.d.ts +3 -0
  570. package/types/sites/aftonbladet/formats/helpers.d.ts +4 -0
  571. package/types/sites/aftonbladet/formats/index.d.ts +6 -0
  572. package/types/sites/aftonbladet/index.d.ts +2 -0
  573. package/types/sites/aftonbladet/prepare-page-options.d.ts +3 -0
  574. package/types/sites/aftonbladet/prepare-page-options.test.d.ts +1 -0
  575. package/types/sites/aftonbladet/prepare-tag.d.ts +3 -0
  576. package/types/sites/aftonbladet/prepare-tag.test.d.ts +1 -0
  577. package/types/sites/aftonbladetv2/config.d.ts +3 -0
  578. package/types/sites/aftonbladetv2/events.d.ts +14 -0
  579. package/types/sites/aftonbladetv2/formats/Insider/index.d.ts +3 -0
  580. package/types/sites/aftonbladetv2/formats/Integration/index.d.ts +3 -0
  581. package/types/sites/aftonbladetv2/formats/Panorama/index.d.ts +3 -0
  582. package/types/sites/aftonbladetv2/formats/Sponsorstripe/helpers.d.ts +3 -0
  583. package/types/sites/aftonbladetv2/formats/Sponsorstripe/index.d.ts +3 -0
  584. package/types/sites/aftonbladetv2/formats/Widescreen/helpers.d.ts +2 -0
  585. package/types/sites/aftonbladetv2/formats/Widescreen/index.d.ts +3 -0
  586. package/types/sites/aftonbladetv2/formats/helpers.d.ts +4 -0
  587. package/types/sites/aftonbladetv2/formats/index.d.ts +6 -0
  588. package/types/sites/aftonbladetv2/index.d.ts +2 -0
  589. package/types/sites/aftonbladetv2/prepare-page-options.d.ts +3 -0
  590. package/types/sites/aftonbladetv2/prepare-page-options.test.d.ts +1 -0
  591. package/types/sites/aftonbladetv2/prepare-tag.d.ts +3 -0
  592. package/types/sites/aftonbladetv2/prepare-tag.test.d.ts +1 -0
  593. package/types/sites/bt/config.d.ts +3 -0
  594. package/types/sites/bt/events.d.ts +14 -0
  595. package/types/sites/bt/formats/Netboard/index.d.ts +3 -0
  596. package/types/sites/bt/formats/Skyscraper/index.d.ts +3 -0
  597. package/types/sites/bt/formats/Topboard/index.d.ts +3 -0
  598. package/types/sites/bt/formats/Wallpaper/index.d.ts +2 -0
  599. package/types/sites/bt/formats/index.d.ts +4 -0
  600. package/types/sites/bt/index.d.ts +4 -0
  601. package/types/sites/bt/prepare-page-options.d.ts +3 -0
  602. package/types/sites/bt/prepare-page-options.test.d.ts +1 -0
  603. package/types/sites/e24/config.d.ts +3 -0
  604. package/types/sites/e24/events.d.ts +14 -0
  605. package/types/sites/e24/formats/Brandboard/index.d.ts +3 -0
  606. package/types/sites/e24/formats/Netboard/index.d.ts +3 -0
  607. package/types/sites/e24/formats/Skyscraper/index.d.ts +3 -0
  608. package/types/sites/e24/formats/Topboard/index.d.ts +3 -0
  609. package/types/sites/e24/formats/Wallpaper/index.d.ts +3 -0
  610. package/types/sites/e24/formats/helpers.d.ts +4 -0
  611. package/types/sites/e24/formats/index.d.ts +6 -0
  612. package/types/sites/e24/index.d.ts +2 -0
  613. package/types/sites/e24/prepare-page-options.d.ts +3 -0
  614. package/types/sites/e24/prepare-page-options.test.d.ts +1 -0
  615. package/types/sites/e24v2/config.d.ts +3 -0
  616. package/types/sites/e24v2/events.d.ts +14 -0
  617. package/types/sites/e24v2/formats/Aksjelive/index.d.ts +2 -0
  618. package/types/sites/e24v2/formats/Brandboard/index.d.ts +3 -0
  619. package/types/sites/e24v2/formats/Netboard/index.d.ts +3 -0
  620. package/types/sites/e24v2/formats/Skyscraper/index.d.ts +5 -0
  621. package/types/sites/e24v2/formats/Topboard/helpers.d.ts +2 -0
  622. package/types/sites/e24v2/formats/Topboard/index.d.ts +3 -0
  623. package/types/sites/e24v2/formats/Wallpaper/helpers.d.ts +2 -0
  624. package/types/sites/e24v2/formats/Wallpaper/index.d.ts +4 -0
  625. package/types/sites/e24v2/formats/index.d.ts +7 -0
  626. package/types/sites/e24v2/index.d.ts +2 -0
  627. package/types/sites/e24v2/prepare-page-options.d.ts +3 -0
  628. package/types/sites/e24v2/prepare-page-options.test.d.ts +1 -0
  629. package/types/sites/godare/config.d.ts +3 -0
  630. package/types/sites/godare/events.d.ts +14 -0
  631. package/types/sites/godare/formats/Buyrecipe/index.d.ts +3 -0
  632. package/types/sites/godare/formats/Integration/index.d.ts +3 -0
  633. package/types/sites/godare/formats/Panorama/index.d.ts +3 -0
  634. package/types/sites/godare/formats/helpers.d.ts +3 -0
  635. package/types/sites/godare/formats/index.d.ts +4 -0
  636. package/types/sites/godare/index.d.ts +2 -0
  637. package/types/sites/godare/prepare-page-options.d.ts +3 -0
  638. package/types/sites/godare/prepare-page-options.test.d.ts +1 -0
  639. package/types/sites/godt/config.d.ts +3 -0
  640. package/types/sites/godt/events.d.ts +14 -0
  641. package/types/sites/godt/index.d.ts +1 -0
  642. package/types/sites/godt/prepare-page-options.d.ts +3 -0
  643. package/types/sites/godt/prepare-page-options.test.d.ts +1 -0
  644. package/types/sites/klart/config.d.ts +3 -0
  645. package/types/sites/klart/events.d.ts +14 -0
  646. package/types/sites/klart/formats/Integration/index.d.ts +3 -0
  647. package/types/sites/klart/formats/Panorama/index.d.ts +3 -0
  648. package/types/sites/klart/formats/Widescreen/index.d.ts +3 -0
  649. package/types/sites/klart/formats/helpers.d.ts +3 -0
  650. package/types/sites/klart/formats/index.d.ts +4 -0
  651. package/types/sites/klart/index.d.ts +2 -0
  652. package/types/sites/klart/prepare-page-options.d.ts +3 -0
  653. package/types/sites/klart/prepare-tag.d.ts +3 -0
  654. package/types/sites/kompakt/config.d.ts +3 -0
  655. package/types/sites/kompakt/index.d.ts +1 -0
  656. package/types/sites/minmote/config.d.ts +3 -0
  657. package/types/sites/minmote/events.d.ts +14 -0
  658. package/types/sites/minmote/index.d.ts +2 -0
  659. package/types/sites/minmote/prepare-page-options.d.ts +3 -0
  660. package/types/sites/minmote/prepare-page-options.test.d.ts +1 -0
  661. package/types/sites/pent/config.d.ts +3 -0
  662. package/types/sites/pent/events.d.ts +14 -0
  663. package/types/sites/pent/index.d.ts +1 -0
  664. package/types/sites/pent/prepare-page-options.d.ts +3 -0
  665. package/types/sites/pent/prepare-page-options.test.d.ts +1 -0
  666. package/types/sites/sa/config.d.ts +3 -0
  667. package/types/sites/sa/events.d.ts +14 -0
  668. package/types/sites/sa/formats/Netboard/index.d.ts +3 -0
  669. package/types/sites/sa/formats/Skyscraper/index.d.ts +3 -0
  670. package/types/sites/sa/formats/Topboard/index.d.ts +3 -0
  671. package/types/sites/sa/formats/Wallpaper/index.d.ts +2 -0
  672. package/types/sites/sa/formats/index.d.ts +4 -0
  673. package/types/sites/sa/formats/scale-ads.d.ts +3 -0
  674. package/types/sites/sa/index.d.ts +4 -0
  675. package/types/sites/sa/prepare-page-options.d.ts +3 -0
  676. package/types/sites/sa/prepare-page-options.test.d.ts +1 -0
  677. package/types/sites/svd/config.d.ts +3 -0
  678. package/types/sites/svd/events.d.ts +14 -0
  679. package/types/sites/svd/formats/Insider/index.d.ts +3 -0
  680. package/types/sites/svd/formats/Panorama/index.d.ts +3 -0
  681. package/types/sites/svd/formats/Toppanorama/index.d.ts +3 -0
  682. package/types/sites/svd/formats/Widescreen/index.d.ts +3 -0
  683. package/types/sites/svd/formats/helpers.d.ts +5 -0
  684. package/types/sites/svd/formats/index.d.ts +5 -0
  685. package/types/sites/svd/index.d.ts +3 -0
  686. package/types/sites/svd/prepare-page-options.d.ts +3 -0
  687. package/types/sites/svd/prepare-page-options.test.d.ts +1 -0
  688. package/types/sites/svd/prepare-tag.d.ts +3 -0
  689. package/types/sites/tek/config.d.ts +3 -0
  690. package/types/sites/tek/events.d.ts +14 -0
  691. package/types/sites/tek/fallback-placement-to-backfill.d.ts +2 -0
  692. package/types/sites/tek/prepare-page-options.d.ts +3 -0
  693. package/types/sites/tek/prepare-page-options.test.d.ts +1 -0
  694. package/types/sites/vg/config.d.ts +3 -0
  695. package/types/sites/vg/custom-events-handler.d.ts +4 -0
  696. package/types/sites/vg/events.d.ts +14 -0
  697. package/types/sites/vg/formats/Brandboard/helpers.d.ts +3 -0
  698. package/types/sites/vg/formats/Netboard/index.d.ts +3 -0
  699. package/types/sites/vg/formats/Skyscraper/index.d.ts +3 -0
  700. package/types/sites/vg/formats/Topboard/index.d.ts +3 -0
  701. package/types/sites/vg/formats/Wallpaper/index.d.ts +3 -0
  702. package/types/sites/vg/formats/index.d.ts +4 -0
  703. package/types/sites/vg/formats/types.d.ts +4 -0
  704. package/types/sites/vg/index.d.ts +3 -0
  705. package/types/sites/vg/prepare-page-options.d.ts +3 -0
  706. package/types/sites/vg/prepare-page-options.test.d.ts +1 -0
  707. package/types/sites/vgv2/config.d.ts +3 -0
  708. package/types/sites/vgv2/custom-events-handler.d.ts +4 -0
  709. package/types/sites/vgv2/events.d.ts +14 -0
  710. package/types/sites/vgv2/formats/Brandboard/helpers.d.ts +3 -0
  711. package/types/sites/vgv2/formats/Netboard/index.d.ts +3 -0
  712. package/types/sites/vgv2/formats/Skyscraper/index.d.ts +3 -0
  713. package/types/sites/vgv2/formats/Topboard/index.d.ts +3 -0
  714. package/types/sites/vgv2/formats/Wallpaper/index.d.ts +3 -0
  715. package/types/sites/vgv2/formats/index.d.ts +4 -0
  716. package/types/sites/vgv2/formats/types.d.ts +4 -0
  717. package/types/sites/vgv2/index.d.ts +3 -0
  718. package/types/sites/vgv2/prepare-page-options.d.ts +3 -0
  719. package/types/sites/vgv2/prepare-page-options.test.d.ts +1 -0
  720. package/types/tests/default-test-data.d.ts +6 -0
  721. package/types/tests/mock-common.d.ts +2 -0
  722. package/types/tests/mock-glimr.d.ts +2 -0
  723. package/types/tests/mock-location.d.ts +2 -0
  724. package/types/tests/mock-screen-size.d.ts +2 -0
  725. package/types/tests/mock-tcf.d.ts +2 -0
  726. package/types/tests/setup-base-config.d.ts +3 -0
  727. package/types/tests/setupBaseHandlers.d.ts +3 -0
  728. package/types/tests/types.d.ts +35 -0
  729. package/types/utils/app-type/index.d.ts +3 -0
  730. package/types/utils/app-type/index.test.d.ts +1 -0
  731. package/types/utils/array-into-chunks/index.d.ts +2 -0
  732. package/types/utils/array-into-chunks/index.test.d.ts +1 -0
  733. package/types/utils/common/index.d.ts +10 -0
  734. package/types/utils/common/index.test.d.ts +1 -0
  735. package/types/utils/data-types/index.d.ts +1 -0
  736. package/types/utils/data-types/index.test.d.ts +1 -0
  737. package/types/utils/device/index.d.ts +10 -0
  738. package/types/utils/device/index.test.d.ts +1 -0
  739. package/types/utils/element-visibility/index.d.ts +2 -0
  740. package/types/utils/element-visibility/index.test.d.ts +1 -0
  741. package/types/utils/http-client/index.d.ts +3 -0
  742. package/types/utils/http-client/index.test.d.ts +1 -0
  743. package/types/utils/image/index.d.ts +2 -0
  744. package/types/utils/image/index.test.d.ts +1 -0
  745. package/types/utils/library/index.d.ts +3 -0
  746. package/types/utils/library/index.test.d.ts +1 -0
  747. package/types/utils/local-storage-client/index.d.ts +3 -0
  748. package/types/utils/local-storage-client/index.test.d.ts +1 -0
  749. package/types/utils/module/index.d.ts +3 -0
  750. package/types/utils/module/index.test.d.ts +1 -0
  751. package/types/utils/safe-execute-async/index.d.ts +3 -0
  752. package/types/utils/safe-execute-async/index.test.d.ts +1 -0
  753. package/types/utils/screen/index.d.ts +4 -0
  754. package/types/utils/screen/index.test.d.ts +1 -0
  755. package/types/utils/script/index.d.ts +2 -0
  756. package/types/utils/script/index.test.d.ts +1 -0
  757. package/types/utils/session-storage-client/index.d.ts +3 -0
  758. package/types/utils/session-storage-client/index.test.d.ts +1 -0
  759. package/types/utils/string/index.d.ts +3 -0
  760. package/types/utils/string/index.test.d.ts +1 -0
  761. package/types/utils/styles/index.d.ts +5 -0
  762. package/types/utils/styles/index.test.d.ts +1 -0
  763. package/types/utils/url/index.d.ts +3 -0
  764. package/types/utils/url/index.test.d.ts +1 -0
  765. package/types/utils/user-agent/index.d.ts +3 -0
  766. package/types/utils/user-agent/index.test.d.ts +1 -0
@@ -0,0 +1,701 @@
1
+ import { Identity } from '@schibsted/account-sdk-browser';
2
+
3
+ type AstCommand = () => void;
4
+ type AstAdType = 'banner' | 'video' | 'native' | 'outstream';
5
+ interface AstBanner {
6
+ content: string;
7
+ height: number;
8
+ width: number;
9
+ }
10
+ interface AstNativeImage {
11
+ height: number;
12
+ width: number;
13
+ url: string;
14
+ prevent_crop: boolean;
15
+ }
16
+ interface AstNativeVideo {
17
+ content: string;
18
+ }
19
+ interface AstNative {
20
+ title: string;
21
+ sponsoredBy: string;
22
+ desc2?: string;
23
+ clickUrl: string;
24
+ clickTrackers: Array<string>;
25
+ clickFallbackUrl?: string;
26
+ displayUrl?: string;
27
+ downloads?: Array<string>;
28
+ cta?: string;
29
+ address?: string;
30
+ body: string;
31
+ main_media?: {
32
+ url: string;
33
+ };
34
+ image: AstNativeImage;
35
+ icon: AstNativeIcon;
36
+ impressionTrackers?: Array<string>;
37
+ javascriptTrackers?: Array<string>;
38
+ likes?: number;
39
+ phone?: string;
40
+ price?: string;
41
+ privacyLink?: string;
42
+ rating?: number;
43
+ saleprice?: number;
44
+ fullText?: string;
45
+ type?: string;
46
+ custom?: {
47
+ type: string;
48
+ };
49
+ video?: AstNativeVideo;
50
+ customTitle1?: string;
51
+ customTitle2?: string;
52
+ customTitle3?: string;
53
+ customTitle4?: string;
54
+ description?: string;
55
+ customIcon2: AstNativeIcon;
56
+ }
57
+ interface AstAdObj {
58
+ adType: AstAdType;
59
+ height: number;
60
+ source: string;
61
+ targetId: string;
62
+ width: number;
63
+ native?: AstNative;
64
+ desc2?: string;
65
+ image?: object;
66
+ tagId?: number;
67
+ cpm?: object;
68
+ buyerMemberId?: number;
69
+ impressionTrackersFired?: boolean;
70
+ auctionId?: string;
71
+ creativeId?: number;
72
+ banner?: AstBanner;
73
+ subtype?: string;
74
+ renderer_url?: string;
75
+ bidderId?: number | undefined;
76
+ }
77
+ interface AstAdError {
78
+ code: number;
79
+ errMessage: string;
80
+ exception: Error;
81
+ targetId: string;
82
+ }
83
+ interface AstTagObj {
84
+ targetId: string;
85
+ }
86
+ type AstEventType = 'adRequested' | 'adAvailable' | 'adBadRequest' | 'adLoaded' | 'adNoBid' | 'adRequestFailure' | 'adError' | 'adCollapse' | 'adNoBidMediated' | 'adLoadedMediated';
87
+ interface AstOnEventFunction {
88
+ (eventType: 'adRequested', eventHandler: AstCommand, targetId?: string): void;
89
+ (eventType: 'adAvailable', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
90
+ (eventType: 'adLoaded', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
91
+ (eventType: 'adNoBid', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
92
+ (eventType: 'adCollapse', eventHandler: AstCommand, targetId?: string): void;
93
+ (eventType: 'adRequestFailure', eventHandler: (adError: AstAdError) => void, targetId?: string): void;
94
+ (eventType: 'adBadRequest', eventHandler: (adError: AstAdError) => void, targetId?: string): void;
95
+ (eventType: 'adError', eventHandler: (adError: AstAdError, adObj: AstAdObj) => void, targetId?: string): void;
96
+ (eventType: 'adLoadedMediated', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
97
+ (eventType: 'adNoBidMediated', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
98
+ }
99
+ interface AstNativeItem {
100
+ required: boolean;
101
+ }
102
+ type AstKeywordValue = Array<string> | string | number | Array<number> | undefined;
103
+ type AstKeywords = Record<string, AstKeywordValue> & {
104
+ 'se-generic-adformat'?: Array<string>;
105
+ 'se-generic-targetid'?: Array<string>;
106
+ 'se-sch-supply_type'?: Array<string>;
107
+ 'no-sno-adformat'?: Array<string>;
108
+ 'no-sno-targetid'?: Array<string>;
109
+ 'aa-sch-dynamic-outstream'?: Array<string>;
110
+ };
111
+ interface AstRendererOptions {
112
+ disableCollapse?: {
113
+ hideControlBar: boolean;
114
+ enabled: boolean;
115
+ replay: boolean;
116
+ };
117
+ playerSkin?: {
118
+ videoBackgroundColor: string;
119
+ };
120
+ safeFrameAutoInitialSize?: boolean;
121
+ aspectRatio?: string;
122
+ enableInlineVideoForIos?: boolean;
123
+ autoInitialSize?: boolean;
124
+ maxHeight?: MaxHeightParams;
125
+ fixedSizePlayer?: boolean;
126
+ }
127
+ interface MaxHeightParams {
128
+ enabled: boolean;
129
+ height: number;
130
+ }
131
+ interface AstNativeParams {
132
+ customTitle1: AstNativeItem;
133
+ customTitle2: AstNativeItem;
134
+ customTitle3: AstNativeItem;
135
+ customTitle4: AstNativeItem;
136
+ title: AstNativeItem;
137
+ body: AstNativeItem;
138
+ image: AstNativeItem;
139
+ icon: AstNativeItem;
140
+ sponsoredBy: AstNativeItem;
141
+ cta: AstNativeItem;
142
+ clickUrl: AstNativeItem;
143
+ desc2: AstNativeItem;
144
+ rating?: AstNativeItem;
145
+ displayUrl: AstNativeItem;
146
+ likes?: AstNativeItem;
147
+ downloads?: AstNativeItem;
148
+ price?: AstNativeItem;
149
+ saleprice?: AstNativeItem;
150
+ phone?: AstNativeItem;
151
+ address?: AstNativeItem;
152
+ description: AstNativeItem;
153
+ video?: AstNativeItem;
154
+ customIcon2?: AstNativeItem;
155
+ }
156
+ interface AstDefineTagParams {
157
+ invCode: string;
158
+ targetId: string;
159
+ sizes: Array<Array<number>>;
160
+ keywords?: AstKeywords;
161
+ rendererOptions?: AstRendererOptions;
162
+ native?: AstNativeParams;
163
+ allowedFormats?: Array<AstAdType>;
164
+ enableSafeFrame?: boolean;
165
+ externalImpId?: string;
166
+ resizeAdParentDiv?: boolean;
167
+ safeframeConfig?: SafeFrameConfig;
168
+ dynamicSizeWidthCheck?: boolean;
169
+ }
170
+ interface SafeFrameConfig {
171
+ allowExpansionByPush?: boolean;
172
+ allowExpansionByOverlay?: boolean;
173
+ }
174
+ interface EidsUserSource {
175
+ id: string;
176
+ source: string;
177
+ }
178
+ interface AstUserIds {
179
+ type: string;
180
+ eids: Array<EidsUserSource>;
181
+ }
182
+ interface AstUser {
183
+ externalUid?: string;
184
+ dnt?: boolean;
185
+ userIds?: Array<AstUserIds>;
186
+ }
187
+ interface AstTrackingManagement {
188
+ native?: {
189
+ loadViewabilityScriptAt?: 'adresponse' | 'impression';
190
+ };
191
+ }
192
+ interface AstRenderingManagement {
193
+ sandboxAdIframe: boolean;
194
+ sandboxAttributes: Array<string>;
195
+ }
196
+ interface AstPageOptions {
197
+ keywords: Record<string, AstKeywordValue>;
198
+ enableSafeFrame?: boolean;
199
+ disablePsa?: boolean;
200
+ user?: AstUser;
201
+ member?: number;
202
+ trackingManagement?: AstTrackingManagement;
203
+ renderingManagement?: AstRenderingManagement;
204
+ }
205
+ interface AstApnTagRequests {
206
+ user?: AstUser;
207
+ keywords: AstKeywords;
208
+ member: number;
209
+ tags: Record<string, {
210
+ adResponse: {
211
+ ads: Array<{
212
+ rtb: {
213
+ banner: AstBanner;
214
+ native: AstNative;
215
+ };
216
+ }>;
217
+ };
218
+ uuid?: string;
219
+ invCode?: string;
220
+ }>;
221
+ }
222
+ interface AstApnTag {
223
+ anq: Array<AstCommand>;
224
+ defineTag: (params: AstDefineTagParams) => AstTagObj;
225
+ showTag: (targetId: string) => void;
226
+ onEvent: AstOnEventFunction;
227
+ offEvent: (eventType: AstEventType, targetId: string) => void;
228
+ refresh: (targetIds: Array<string>) => void;
229
+ modifyTag: (targetId: string, params: Partial<AstDefineTagParams>) => void;
230
+ loadTags: (targetIds?: Array<string>) => void;
231
+ emitEvent: (targetId: string, eventName: string) => void;
232
+ setPageOpts: (params: AstPageOptions) => void;
233
+ resizeAd: (targetId: string, size: Array<string | number>, config?: {
234
+ resizeAdParentDiv?: boolean;
235
+ }) => void;
236
+ getAstVersion: () => string;
237
+ setEndpoint: (endpoint: string, freezeIbUrl: boolean) => void;
238
+ requests?: AstApnTagRequests;
239
+ fireImpressionTrackers: (nativeObject: AstAdObj) => void;
240
+ setKeywords: (ids: Array<string>, keywords: AstKeywords, options: {
241
+ overrideKeyValue: boolean;
242
+ }) => void;
243
+ clearRequest: (targetIds?: Array<string> | string) => void;
244
+ }
245
+ interface AstNativeIcon {
246
+ url: string;
247
+ height?: number;
248
+ width?: number;
249
+ prevent_crop?: boolean;
250
+ }
251
+
252
+ declare const DeviceTypes: {
253
+ readonly MOBILE: "mobile";
254
+ readonly TABLET: "tablet";
255
+ readonly DESKTOP: "desktop";
256
+ };
257
+ type DeviceType = (typeof DeviceTypes)[keyof typeof DeviceTypes];
258
+
259
+ declare const Countries: {
260
+ readonly NO: "no";
261
+ readonly SE: "se";
262
+ };
263
+ type Country = (typeof Countries)[keyof typeof Countries];
264
+
265
+ declare const PageTypes: {
266
+ readonly FRONT: "front";
267
+ readonly ARTICLE: "article";
268
+ readonly SECTION: "section";
269
+ readonly COLLECTION: "collection";
270
+ readonly OTHER: "other";
271
+ };
272
+ type PageType = (typeof PageTypes)[keyof typeof PageTypes];
273
+
274
+ interface AdvertisingIdentifiers {
275
+ xandr?: {
276
+ ppId1?: string;
277
+ ppId2?: string;
278
+ };
279
+ }
280
+ interface TrackerInstance {
281
+ getAdvertisingIdentifiers: () => Promise<AdvertisingIdentifiers>;
282
+ getUserId: () => Promise<undefined | string | number>;
283
+ getEnvironmentId: () => Promise<undefined | string>;
284
+ getActor: () => Promise<undefined | unknown>;
285
+ state?: {
286
+ pageViewId?: string;
287
+ };
288
+ }
289
+ interface PulseInstance {
290
+ pulseTracker: TrackerInstance;
291
+ getSDK: () => Promise<TrackerInstance>;
292
+ trackElementView?: (eventInput: unknown) => Promise<void>;
293
+ trackElementClick?: (eventInput: unknown) => Promise<void>;
294
+ trackClickUIElement?: (eventInput: unknown) => Promise<void>;
295
+ trackViewUIElement?: (eventInput: unknown) => Promise<void>;
296
+ }
297
+ interface Tracker {
298
+ clientId: string;
299
+ instance: TrackerInstance;
300
+ }
301
+ interface Pulse {
302
+ clientId: string;
303
+ instance: PulseInstance;
304
+ }
305
+
306
+ type MarginPriority = 'high' | 'normal' | 'low';
307
+ interface PrioEntry {
308
+ renderMargin: number;
309
+ refreshMargin: number;
310
+ }
311
+ interface PrioPreloadMarginMap {
312
+ high?: Partial<PrioEntry>;
313
+ normal?: Partial<PrioEntry>;
314
+ low?: Partial<PrioEntry>;
315
+ }
316
+
317
+ type DistributionTypes = 'REALESTATE' | 'REALESTATE_RETARGET' | 'REALESTATE_LEISURE' | 'REALESTATE_LEISURE_RETARGET' | 'REALESTATE_PROJECT' | 'REALESTATE_PROJECT_RETARGET' | 'CAR' | 'JOB';
318
+ interface BlinkConstructorOptions {
319
+ remote?: string;
320
+ id?: string;
321
+ hashed_email?: string;
322
+ theme?: string;
323
+ }
324
+ interface BlinkInstance {
325
+ inject: (options: unknown) => Promise<unknown>;
326
+ }
327
+ type BlinkConstructor = new (options: BlinkConstructorOptions) => BlinkInstance;
328
+
329
+ declare const Newsrooms: {
330
+ readonly SVD: "svd";
331
+ readonly VG: "vg";
332
+ readonly GODARE: "godare";
333
+ readonly AFTENPOSTEN: "aftenposten";
334
+ readonly SA: "sa";
335
+ readonly BT: "bt";
336
+ readonly AFTONBLADET: "aftonbladet";
337
+ readonly E24: "e24";
338
+ readonly MINMOTE: "minmote";
339
+ readonly PENT: "pent";
340
+ readonly GODT: "godt";
341
+ readonly TEK: "tekno";
342
+ readonly KLART: "klart";
343
+ readonly POLARIS: "polaris";
344
+ };
345
+ type Newsroom = (typeof Newsrooms)[keyof typeof Newsrooms];
346
+
347
+ interface SiteConfig {
348
+ publisher: string;
349
+ country: Country;
350
+ astUrl?: string;
351
+ gptUrl?: string;
352
+ testMember?: number;
353
+ pageType: PageType;
354
+ pageOptions: AstPageOptions;
355
+ placements: Placements;
356
+ keywordsConfig?: KeywordsConfig;
357
+ deviceType: DeviceType;
358
+ isMobileApp?: boolean;
359
+ glimr?: GlimrConfig;
360
+ tcf?: TCFConfig;
361
+ prebid?: PrebidConfig;
362
+ tracker?: Tracker;
363
+ pulse?: Pulse;
364
+ finnBlink?: FinnBlinkConfig;
365
+ wallpaper?: WallpaperConfig;
366
+ fullscreenScroll?: FullscreenScrollConfig;
367
+ appearanceConfig: AppearanceConfig;
368
+ queryConfig?: QueryConfig;
369
+ refreshConfig?: RefreshConfig;
370
+ preloadMarginsConfig?: Record<DeviceType, PrioPreloadMarginMap>;
371
+ takeover?: TakeoverConfig;
372
+ brandmetrics?: BrandmetricsConfig;
373
+ gdpr?: GdprConfig;
374
+ brandboard?: BrandboardConfig;
375
+ norstat?: NorstatConfig;
376
+ siteSpecificConfig?: SiteSpecificConfig;
377
+ sponsorstripe?: SponsorstripeConfig;
378
+ privacyBroker?: PrivacyBrokerConfig;
379
+ drEdition?: DrEditionConfig;
380
+ forwardExternalImpId?: boolean;
381
+ requestSize?: number;
382
+ nativeTrackingConfig?: NativeTrackingConfig;
383
+ sandboxAdIframeEnabled?: boolean;
384
+ pageSectionsSelectors?: PageSectionsSelectors;
385
+ editableConfiguration?: {
386
+ useS3Config?: boolean;
387
+ pageTypeToFetch?: string;
388
+ };
389
+ }
390
+ interface NativeTrackingConfig {
391
+ nativeTrackingEnabled?: boolean;
392
+ fireImpressionsBasedOnAppearanceThreshold?: boolean;
393
+ }
394
+ interface SiteSpecificConfig {
395
+ publisherClassName?: Newsroom;
396
+ fullWidthFormatClassName?: 'netboard' | 'panorama';
397
+ classesToRemoveOnRefresh?: Array<string>;
398
+ }
399
+ interface Placement {
400
+ id: string;
401
+ sizes: Array<Array<number>>;
402
+ allowedFormats: Array<AstAdType>;
403
+ invCode: string;
404
+ keywords: any;
405
+ refresh?: boolean;
406
+ bfCacheRefresh?: boolean;
407
+ priority?: MarginPriority;
408
+ ssa?: boolean;
409
+ threshold?: number;
410
+ finnBlink?: FinnBlinkPlacementConfig;
411
+ nativeCustomProperties?: Array<string>;
412
+ minViewWidth?: number;
413
+ dynamicSizeWidthCheck?: boolean;
414
+ safeframeConfig?: SafeFrameConfig;
415
+ resizeAdParentDiv?: boolean;
416
+ positionConfig?: Array<PositionConfig>;
417
+ drEdition?: DrEditionPlacementConfig;
418
+ isBackfill?: boolean;
419
+ }
420
+ interface Placements {
421
+ desktop: Array<Placement>;
422
+ tablet: Array<Placement>;
423
+ mobile: Array<Placement>;
424
+ }
425
+ interface AppearanceConfig {
426
+ defaultThreshold: {
427
+ mobile: number;
428
+ tablet: number;
429
+ desktop: number;
430
+ };
431
+ clearProbableDimensionsEnabled?: boolean;
432
+ isDarkModeEnabled?: boolean;
433
+ mainColumnWidth?: number;
434
+ subsectionTheme?: string;
435
+ }
436
+ interface PageSectionsSelectors {
437
+ top?: string;
438
+ left?: string;
439
+ right?: string;
440
+ main?: string;
441
+ mainFirstColumn?: string;
442
+ mainSecondColumn?: string;
443
+ }
444
+ interface KeywordsConfig {
445
+ includeCountingKeywordInTags?: boolean;
446
+ sponsors?: string;
447
+ }
448
+ interface QueryConfig {
449
+ queryByDataDevice?: boolean;
450
+ lazyLoadingV3?: {
451
+ enabled: boolean;
452
+ rootMargin: string;
453
+ };
454
+ placementBatches?: PlacementBatchesConfig;
455
+ }
456
+ interface PositionConfig {
457
+ adPositionIndex: number;
458
+ sizes?: Array<Array<number>>;
459
+ keywords?: AstKeywords;
460
+ }
461
+ type FinnBlinkTheme = 'light' | 'dark';
462
+ interface FinnBlinkConfig {
463
+ enabled?: boolean;
464
+ channel?: string;
465
+ userId?: string;
466
+ uuid?: string;
467
+ identifierUrl?: string;
468
+ theme?: FinnBlinkTheme;
469
+ replacementConfig?: {
470
+ adsToReplace?: Array<Array<string>>;
471
+ sizes?: {
472
+ width: number;
473
+ height: number;
474
+ };
475
+ };
476
+ }
477
+ interface FinnBlinkPlacementConfig {
478
+ enabled: boolean;
479
+ renderOnlyWithAdBlock?: boolean;
480
+ position: string;
481
+ distributionTypes?: Array<DistributionTypes>;
482
+ height?: number;
483
+ limit?: number;
484
+ offset?: number;
485
+ requireImage?: boolean;
486
+ rec?: boolean;
487
+ theme?: FinnBlinkTheme;
488
+ advertoryTheme?: string;
489
+ }
490
+ interface PrebidConfig {
491
+ enabled: boolean;
492
+ url: string;
493
+ id: string;
494
+ externalUidInAuctionEnabled: boolean;
495
+ relevantCbTimeout?: number;
496
+ forwardGlimrTags?: boolean;
497
+ }
498
+ interface TCFConfig {
499
+ enabled: boolean;
500
+ timeout?: number;
501
+ }
502
+ interface GlimrConfig {
503
+ enabled: boolean;
504
+ clientId: string;
505
+ }
506
+ interface WallpaperConfig {
507
+ enabled: boolean;
508
+ options?: WallpaperConfigOptions;
509
+ }
510
+ interface WallpaperConfigOptions {
511
+ appMainContainerSelector?: string;
512
+ wallpaperAnchorSelector?: string;
513
+ }
514
+ interface BrandmetricsConfig {
515
+ enabled: boolean;
516
+ url: string;
517
+ }
518
+ interface GdprConfig {
519
+ url?: string;
520
+ allowHidingAds?: boolean;
521
+ }
522
+ interface FullscreenScrollConfig {
523
+ fadingHeaderEnabled: boolean;
524
+ headerSelectors: Array<string>;
525
+ skyscraperSelectors?: Array<string>;
526
+ headerZIndex: number;
527
+ overlayStyles?: OverlayStyles;
528
+ moveCogwheelToTheLeft?: boolean;
529
+ }
530
+ interface OverlayStyles {
531
+ backgroundColor?: string;
532
+ foregroundColor?: string;
533
+ articlesContainerWidth?: number;
534
+ margin?: string;
535
+ beforeContentValue?: string;
536
+ }
537
+ interface RefreshConfig {
538
+ delayTime?: number;
539
+ scrollRefreshEnabled?: boolean;
540
+ visibilityStateRefreshEnabled?: boolean;
541
+ backForwardNavigationRefreshEnabled?: boolean;
542
+ }
543
+ interface WelcomePageConfig {
544
+ showArrowIcon?: boolean;
545
+ headerElementSelector?: string;
546
+ buttonLabel?: string;
547
+ showCloseButton?: boolean;
548
+ }
549
+ interface BrandboardConfig {
550
+ enabled: boolean;
551
+ sidebarContainerSelector: string;
552
+ sidebarItemsContainerSelector: string;
553
+ }
554
+ interface SplashConfig {
555
+ themeColors?: ThemeColors;
556
+ buttonLabel: string;
557
+ logotype: Logotype;
558
+ showArrowIcon?: boolean;
559
+ showAnnonsLabel?: boolean;
560
+ }
561
+ interface TakeoverConfig {
562
+ enabled?: boolean;
563
+ splash?: SplashConfig;
564
+ welcomePage?: WelcomePageConfig;
565
+ topscroller?: WelcomePageConfig;
566
+ cookieCapName?: string | null;
567
+ cookieCapTime?: number;
568
+ setCookieCapForNotShownAd?: boolean;
569
+ }
570
+ interface Logotype {
571
+ url: string;
572
+ alt: string;
573
+ }
574
+ interface ThemeColors {
575
+ backgroundColor: string;
576
+ color: string;
577
+ }
578
+ interface NorstatConfig {
579
+ enabled: true;
580
+ }
581
+ interface SponsorstripeConfig {
582
+ toogleEnabled: boolean;
583
+ headerSelector?: string;
584
+ containersSelectors?: Array<string>;
585
+ }
586
+ interface PrivacyBrokerConfig {
587
+ enabled: boolean;
588
+ clientId: string;
589
+ storageKeyPrefix: string;
590
+ }
591
+ interface DrEditionConfig {
592
+ enabled: boolean;
593
+ containerSelector: string;
594
+ wrapperSelector: string;
595
+ fallbackGlobalEditionName?: string;
596
+ videoScriptUrl?: string;
597
+ addPreviewVideo?: (videoElement: HTMLElement) => void;
598
+ }
599
+ interface DrEditionPlacementConfig {
600
+ editionName: string;
601
+ }
602
+ interface DevicePlacementBatches {
603
+ [key: string]: Array<string>;
604
+ }
605
+ type PlacementBatchesConfig = {
606
+ [device in DeviceType]: DevicePlacementBatches;
607
+ };
608
+
609
+ type IsConsentedToAll = (callback: ConsentedToAllCallback) => void;
610
+ type ConsentedToAllCallback = (value: boolean) => void;
611
+ type GetConsentToAllSync = () => boolean | null;
612
+ interface ConsentManager {
613
+ getConsentedToAllSync: GetConsentToAllSync;
614
+ isConsentedToAll: IsConsentedToAll;
615
+ }
616
+
617
+ interface AlertoryTag {
618
+ invCode: string;
619
+ sizes: Array<Array<number>>;
620
+ adTypes?: Array<AstAdType>;
621
+ keywords?: AstKeywords;
622
+ }
623
+ interface XandrConfig {
624
+ member?: number;
625
+ keywords: AstKeywords;
626
+ tags: Array<Array<AlertoryTag>>;
627
+ }
628
+ interface AlertoryConfig {
629
+ xandr: XandrConfig;
630
+ advertory: Partial<SiteConfig>;
631
+ }
632
+
633
+ declare const ES_MODULE_KEYS: {
634
+ readonly Blink: "Blink";
635
+ };
636
+ type ESModuleKey = (typeof ES_MODULE_KEYS)[keyof typeof ES_MODULE_KEYS];
637
+ type ESMModules = {
638
+ [K in ESModuleKey]?: BlinkConstructor;
639
+ };
640
+
641
+ declare global {
642
+ interface Window extends ESMModules {
643
+ apntag: AstApnTag;
644
+ relevantDigital: any;
645
+ Identity: Identity;
646
+ SvD: any;
647
+ gdpr: {
648
+ allowHidingAds: boolean;
649
+ setupButton: (targetId: string) => void;
650
+ };
651
+ _scc_: any;
652
+ _tcf_?: ConsentManager;
653
+ __tcfapi: any;
654
+ _brandmetrics: any;
655
+ SVP?: any;
656
+ advertory_idfv?: string;
657
+ advertory_anId?: string;
658
+ advertory: {
659
+ initialized: boolean;
660
+ siteConfig: SiteConfig;
661
+ renderedDrEditionAds?: Array<string>;
662
+ alertoryConfig?: AlertoryConfig;
663
+ };
664
+ advertoryFluepapir: boolean;
665
+ autoplayQueue: Array<(autoplay: {
666
+ parse: () => void;
667
+ }) => void>;
668
+ }
669
+ interface Document {
670
+ prerendering: boolean;
671
+ }
672
+ interface Navigator {
673
+ globalPrivacyControl?: boolean;
674
+ }
675
+ }
676
+
677
+ declare module 'glimr-sdk' {
678
+ function setTagCacheTimeInSeconds(time: number): void;
679
+ function getTags(clientId: string, fn: (tags: Array<string>, tagsMapping: any) => void): void;
680
+ export { setTagCacheTimeInSeconds, getTags };
681
+ }
682
+
683
+ declare module '*.png' {
684
+ const pngValue: string;
685
+ export { pngValue };
686
+ }
687
+
688
+ interface UpdateAdvertoryConfig {
689
+ clearAds?: boolean;
690
+ reloadExistingAds?: boolean;
691
+ renderFinnBlinkPlacements?: boolean;
692
+ contextSelector?: string;
693
+ }
694
+
695
+ declare const updateAdvertory: (configPropertiesToUpdate?: Partial<SiteConfig>, updateAdvertoryConfig?: UpdateAdvertoryConfig) => Promise<Array<Placement>>;
696
+
697
+ declare const getVideoPPIDs: (country: Country) => Promise<string>;
698
+
699
+ declare const initAdvertoryPackage: (config: SiteConfig) => Promise<void>;
700
+
701
+ export { getVideoPPIDs, initAdvertoryPackage, updateAdvertory };