@elliemae/pui-app-sdk 5.21.0-beta.4 → 5.21.0

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 (145) hide show
  1. package/dist/cjs/analytics/index.js +1 -2
  2. package/dist/cjs/index.js +0 -2
  3. package/dist/cjs/utils/decorators/functionDecorators.js +35 -2
  4. package/dist/cjs/utils/decorators/index.js +2 -1
  5. package/dist/cjs/utils/micro-frontend/guest.js +14 -100
  6. package/dist/cjs/{view/tests/scriptingObjects/constant.js → utils/micro-frontend/host-app.js} +10 -5
  7. package/dist/cjs/utils/micro-frontend/host.js +3 -36
  8. package/dist/cjs/utils/micro-frontend/scripting-objects/analytics.js +12 -2
  9. package/dist/cjs/{view/tests/utils.js → utils/micro-frontend/ssfguest-adapter.js} +29 -34
  10. package/dist/cjs/utils/testing/index.js +1 -15
  11. package/dist/cjs/view/micro-iframe-app/iframe/index.js +1 -1
  12. package/dist/cjs/view/micro-iframe-app/iframe.html +1 -5
  13. package/dist/cjs/view/micro-iframe-app/use-frame-loaded.js +1 -3
  14. package/dist/esm/analytics/index.js +1 -2
  15. package/dist/esm/index.js +0 -2
  16. package/dist/esm/utils/decorators/functionDecorators.js +35 -2
  17. package/dist/esm/utils/decorators/index.js +4 -2
  18. package/dist/esm/utils/micro-frontend/guest.js +14 -100
  19. package/dist/esm/utils/micro-frontend/host-app.js +9 -0
  20. package/dist/esm/utils/micro-frontend/host.js +3 -36
  21. package/dist/esm/utils/micro-frontend/scripting-objects/analytics.js +2 -2
  22. package/dist/esm/utils/micro-frontend/ssfguest-adapter.js +28 -0
  23. package/dist/esm/utils/testing/index.js +1 -5
  24. package/dist/esm/view/micro-iframe-app/iframe/index.js +1 -1
  25. package/dist/esm/view/micro-iframe-app/iframe.html +1 -5
  26. package/dist/esm/view/micro-iframe-app/use-frame-loaded.js +1 -3
  27. package/dist/types/lib/index.d.ts +0 -1
  28. package/dist/types/lib/utils/decorators/functionDecorators.d.ts +28 -0
  29. package/dist/types/lib/utils/decorators/index.d.ts +2 -1
  30. package/dist/types/lib/utils/micro-frontend/guest.d.ts +11 -46
  31. package/dist/types/lib/utils/micro-frontend/host-app.d.ts +11 -0
  32. package/dist/types/lib/utils/micro-frontend/host.d.ts +10 -27
  33. package/dist/types/lib/utils/micro-frontend/scripting-objects/analytics.d.ts +2 -2
  34. package/dist/types/lib/utils/micro-frontend/ssfguest-adapter.d.ts +7 -0
  35. package/dist/types/lib/utils/micro-frontend/types.d.ts +1 -2
  36. package/dist/types/lib/utils/testing/index.d.ts +1 -57
  37. package/dist/types/lib/utils/window.d.ts +6 -13
  38. package/dist/types/tsconfig.tsbuildinfo +1 -1
  39. package/package.json +48 -43
  40. package/dist/cjs/utils/micro-frontend/app-bridge.js +0 -40
  41. package/dist/cjs/utils/micro-frontend/tests/app.config.json +0 -200
  42. package/dist/cjs/utils/micro-frontend/tests/utils.js +0 -116
  43. package/dist/cjs/view/microapp-v2.js +0 -91
  44. package/dist/cjs/view/tests/__snapshots__/micro-iframe-app.test.tsx.snap +0 -208
  45. package/dist/cjs/view/tests/__snapshots__/microapp-v2.test.tsx.snap +0 -21
  46. package/dist/cjs/view/tests/app.config.json +0 -200
  47. package/dist/cjs/view/tests/constants.js +0 -44
  48. package/dist/cjs/view/tests/flights/23.1/app.checksum1.css +0 -3
  49. package/dist/cjs/view/tests/flights/23.1/app.checksum1.js +0 -52
  50. package/dist/cjs/view/tests/flights/23.1/manifest.json +0 -4
  51. package/dist/cjs/view/tests/flights/latest/app.checksum.css +0 -3
  52. package/dist/cjs/view/tests/flights/latest/app.checksum.js +0 -52
  53. package/dist/cjs/view/tests/flights/latest/manifest.json +0 -4
  54. package/dist/cjs/view/tests/hotels/23.1/app.checksum.css +0 -3
  55. package/dist/cjs/view/tests/hotels/23.1/app.checksum.js +0 -52
  56. package/dist/cjs/view/tests/hotels/23.1/manifest.json +0 -4
  57. package/dist/cjs/view/tests/hotels/latest/app.checksum.css +0 -3
  58. package/dist/cjs/view/tests/hotels/latest/app.checksum.js +0 -52
  59. package/dist/cjs/view/tests/hotels/latest/manifest.json +0 -4
  60. package/dist/cjs/view/tests/loan/latest/index.js +0 -116
  61. package/dist/cjs/view/tests/loan/latest/manifest.json +0 -3
  62. package/dist/cjs/view/tests/scriptingObjects/appraisalServiceModule.js +0 -85
  63. package/dist/cjs/view/tests/scriptingObjects/global.js +0 -40
  64. package/dist/cjs/view/tests/scriptingObjects/loan.js +0 -207
  65. package/dist/cjs/view/tests/server.js +0 -29
  66. package/dist/cjs/view/tests/serverHandlers.js +0 -210
  67. package/dist/cjs/view/tests/task/latest/index.dev.js +0 -67
  68. package/dist/cjs/view/tests/task/latest/index.js +0 -67
  69. package/dist/cjs/view/tests/task/latest/manifest.json +0 -4
  70. package/dist/cjs/view/tests/travelhub/23.1/app.checksum.css +0 -3
  71. package/dist/cjs/view/tests/travelhub/23.1/app.checksum.js +0 -25
  72. package/dist/cjs/view/tests/travelhub/23.1/landing.checksum1.css +0 -3
  73. package/dist/cjs/view/tests/travelhub/23.1/landing.checksum1.js +0 -6
  74. package/dist/cjs/view/tests/travelhub/23.1/manifest.json +0 -6
  75. package/dist/cjs/view/tests/travelhub/latest/app.checksum.css +0 -3
  76. package/dist/cjs/view/tests/travelhub/latest/app.checksum.js +0 -30
  77. package/dist/cjs/view/tests/travelhub/latest/landing.checksum.css +0 -3
  78. package/dist/cjs/view/tests/travelhub/latest/landing.checksum.js +0 -8
  79. package/dist/cjs/view/tests/travelhub/latest/manifest.json +0 -6
  80. package/dist/esm/utils/micro-frontend/app-bridge.js +0 -20
  81. package/dist/esm/utils/micro-frontend/tests/app.config.json +0 -200
  82. package/dist/esm/utils/micro-frontend/tests/utils.js +0 -96
  83. package/dist/esm/view/microapp-v2.js +0 -71
  84. package/dist/esm/view/tests/__snapshots__/micro-iframe-app.test.tsx.snap +0 -208
  85. package/dist/esm/view/tests/__snapshots__/microapp-v2.test.tsx.snap +0 -21
  86. package/dist/esm/view/tests/app.config.json +0 -200
  87. package/dist/esm/view/tests/constants.js +0 -24
  88. package/dist/esm/view/tests/flights/23.1/app.checksum1.css +0 -3
  89. package/dist/esm/view/tests/flights/23.1/app.checksum1.js +0 -51
  90. package/dist/esm/view/tests/flights/23.1/manifest.json +0 -4
  91. package/dist/esm/view/tests/flights/latest/app.checksum.css +0 -3
  92. package/dist/esm/view/tests/flights/latest/app.checksum.js +0 -51
  93. package/dist/esm/view/tests/flights/latest/manifest.json +0 -4
  94. package/dist/esm/view/tests/hotels/23.1/app.checksum.css +0 -3
  95. package/dist/esm/view/tests/hotels/23.1/app.checksum.js +0 -51
  96. package/dist/esm/view/tests/hotels/23.1/manifest.json +0 -4
  97. package/dist/esm/view/tests/hotels/latest/app.checksum.css +0 -3
  98. package/dist/esm/view/tests/hotels/latest/app.checksum.js +0 -51
  99. package/dist/esm/view/tests/hotels/latest/manifest.json +0 -4
  100. package/dist/esm/view/tests/loan/latest/index.js +0 -115
  101. package/dist/esm/view/tests/loan/latest/manifest.json +0 -3
  102. package/dist/esm/view/tests/scriptingObjects/appraisalServiceModule.js +0 -67
  103. package/dist/esm/view/tests/scriptingObjects/constant.js +0 -4
  104. package/dist/esm/view/tests/scriptingObjects/global.js +0 -20
  105. package/dist/esm/view/tests/scriptingObjects/loan.js +0 -187
  106. package/dist/esm/view/tests/server.js +0 -9
  107. package/dist/esm/view/tests/serverHandlers.js +0 -180
  108. package/dist/esm/view/tests/task/latest/index.dev.js +0 -66
  109. package/dist/esm/view/tests/task/latest/index.js +0 -66
  110. package/dist/esm/view/tests/task/latest/manifest.json +0 -4
  111. package/dist/esm/view/tests/travelhub/23.1/app.checksum.css +0 -3
  112. package/dist/esm/view/tests/travelhub/23.1/app.checksum.js +0 -24
  113. package/dist/esm/view/tests/travelhub/23.1/landing.checksum1.css +0 -3
  114. package/dist/esm/view/tests/travelhub/23.1/landing.checksum1.js +0 -5
  115. package/dist/esm/view/tests/travelhub/23.1/manifest.json +0 -6
  116. package/dist/esm/view/tests/travelhub/latest/app.checksum.css +0 -3
  117. package/dist/esm/view/tests/travelhub/latest/app.checksum.js +0 -29
  118. package/dist/esm/view/tests/travelhub/latest/landing.checksum.css +0 -3
  119. package/dist/esm/view/tests/travelhub/latest/landing.checksum.js +0 -7
  120. package/dist/esm/view/tests/travelhub/latest/manifest.json +0 -6
  121. package/dist/esm/view/tests/utils.js +0 -33
  122. package/dist/types/lib/utils/micro-frontend/app-bridge.d.ts +0 -4
  123. package/dist/types/lib/utils/micro-frontend/tests/utils.d.ts +0 -39
  124. package/dist/types/lib/view/microapp-v2.d.ts +0 -16
  125. package/dist/types/lib/view/tests/constants.d.ts +0 -11
  126. package/dist/types/lib/view/tests/flights/23.1/app.checksum1.d.ts +0 -7
  127. package/dist/types/lib/view/tests/flights/latest/app.checksum.d.ts +0 -7
  128. package/dist/types/lib/view/tests/hotels/23.1/app.checksum.d.ts +0 -7
  129. package/dist/types/lib/view/tests/hotels/latest/app.checksum.d.ts +0 -7
  130. package/dist/types/lib/view/tests/loan/latest/index.d.ts +0 -11
  131. package/dist/types/lib/view/tests/microapp-v2.test.d.ts +0 -1
  132. package/dist/types/lib/view/tests/scriptingObjects/appraisalServiceModule.d.ts +0 -36
  133. package/dist/types/lib/view/tests/scriptingObjects/constant.d.ts +0 -1
  134. package/dist/types/lib/view/tests/scriptingObjects/global.d.ts +0 -9
  135. package/dist/types/lib/view/tests/scriptingObjects/loan.d.ts +0 -31
  136. package/dist/types/lib/view/tests/server.d.ts +0 -1
  137. package/dist/types/lib/view/tests/serverHandlers.d.ts +0 -5
  138. package/dist/types/lib/view/tests/task/latest/index.d.ts +0 -10
  139. package/dist/types/lib/view/tests/task/latest/index.dev.d.ts +0 -10
  140. package/dist/types/lib/view/tests/travelhub/23.1/app.checksum.d.ts +0 -7
  141. package/dist/types/lib/view/tests/travelhub/23.1/landing.checksum1.d.ts +0 -2
  142. package/dist/types/lib/view/tests/travelhub/latest/app.checksum.d.ts +0 -0
  143. package/dist/types/lib/view/tests/travelhub/latest/landing.checksum.d.ts +0 -0
  144. package/dist/types/lib/view/tests/utils.d.ts +0 -7
  145. /package/dist/types/lib/{view/tests/micro-iframe-app.test.d.ts → utils/micro-frontend/tests/guest-ssf-host.test.d.ts} +0 -0
@@ -1,60 +1,4 @@
1
1
  import { RenderOptions } from '@testing-library/react';
2
- declare const customRender: (ui: React.ReactElement, options?: Omit<RenderOptions, "queries">) => {
3
- container: HTMLElement;
4
- baseElement: HTMLElement;
5
- debug: (baseElement?: Element | DocumentFragment | Array<Element | DocumentFragment>, maxLength?: number, options?: import("pretty-format").OptionsReceived) => void;
6
- rerender: (ui: React.ReactNode) => void;
7
- unmount: () => void;
8
- asFragment: () => DocumentFragment;
9
- getByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement;
10
- getAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
11
- queryByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement | null;
12
- queryAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
13
- findByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
14
- findAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
15
- getByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
16
- getAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
17
- queryByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
18
- queryAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
19
- findByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
20
- findAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
21
- getByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement;
22
- getAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
23
- queryByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement | null;
24
- queryAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
25
- findByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
26
- findAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
27
- getByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
28
- getAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
29
- queryByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
30
- queryAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
31
- findByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
32
- findAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
33
- getByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
34
- getAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
35
- queryByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
36
- queryAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
37
- findByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
38
- findAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
39
- getByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
40
- getAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
41
- queryByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
42
- queryAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
43
- findByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
44
- findAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
45
- getByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement;
46
- getAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement[];
47
- queryByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement | null;
48
- queryAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement[];
49
- findByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
50
- findAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
51
- getByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
52
- getAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
53
- queryByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
54
- queryAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
55
- findByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
56
- findAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
57
- user: import("@testing-library/user-event").UserEvent;
58
- };
2
+ declare const customRender: (ui: React.ReactElement, options?: Omit<RenderOptions, "queries">) => import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries.js"), HTMLElement, HTMLElement>;
59
3
  export * from '@testing-library/react';
60
4
  export { customRender as render };
@@ -1,18 +1,14 @@
1
1
  import { IMicroAppGuest, IMicroAppHost, BAEvent } from '@elliemae/pui-micro-frontend-base';
2
- import { ScriptingObjectTypes, Events } from '@elliemae/pui-scripting-object';
3
- import { ScriptingObjects, EventListeners } from '@elliemae/microfe-common';
4
- import { SSFGuest } from '@elliemae/ssf-guest';
5
2
  import { BreakPoint } from '@elliemae/pui-theme';
6
3
  import { Logger } from '@elliemae/pui-diagnostics';
7
- import { IMicroFEHost } from '@elliemae/pui-app-bridge';
8
4
  import { LoginParams } from './auth/types';
9
- export type EMUI<AppObjects extends ScriptingObjects = Partial<ScriptingObjectTypes>, AppEvents extends EventListeners = Events> = {
10
- [key: string]: IMicroAppGuest<AppObjects, AppEvents> | IMicroAppGuest<AppObjects, AppEvents>[];
5
+ export type EMUI = {
6
+ [key: string]: IMicroAppGuest | IMicroAppGuest[];
11
7
  } & {
12
8
  _BASE_PATH: string;
13
9
  _ASSET_PATH: string;
14
10
  version: string;
15
- MicroAppHost?: IMicroFEHost<AppObjects, AppEvents> | IMicroAppHost | SSFGuest<AppObjects, AppEvents>;
11
+ MicroAppHost?: IMicroAppHost;
16
12
  logger?: Logger;
17
13
  appId: string;
18
14
  uuid: string;
@@ -20,15 +16,12 @@ export type EMUI<AppObjects extends ScriptingObjects = Partial<ScriptingObjectTy
20
16
  loginParams: LoginParams;
21
17
  };
22
18
  declare global {
23
- interface Window<AppObjects extends ScriptingObjects = Partial<ScriptingObjectTypes>, AppEvents extends EventListeners = Events> {
19
+ interface Window {
24
20
  gtmDataLayer: BAEvent[];
25
- emui: EMUI<AppObjects, AppEvents>;
26
- __TEST__: {
27
- [key: string]: unknown;
28
- };
21
+ emui: EMUI;
29
22
  }
30
23
  }
31
- export declare const getWindow: () => WindowProxy;
24
+ export declare const getWindow: () => Window;
32
25
  export declare const getViewportSize: () => {
33
26
  width: number;
34
27
  height: number;