You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

globals.d.ts 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. import { IStore } from "./react/features/app/types";
  2. import { IConfig } from "./react/features/base/config/configType";
  3. export {};
  4. declare global {
  5. const APP: {
  6. store: IStore;
  7. UI: any;
  8. API: any;
  9. conference: any;
  10. debugLogs: any;
  11. keyboardshortcut: {
  12. registerShortcut: Function;
  13. unregisterShortcut: Function;
  14. openDialog: Function;
  15. enable: Function;
  16. }
  17. };
  18. const interfaceConfig: any;
  19. interface Window {
  20. config: IConfig;
  21. JITSI_MEET_LITE_SDK?: boolean;
  22. interfaceConfig?: any;
  23. JitsiMeetJS?: any;
  24. JitsiMeetElectron?: any;
  25. // selenium tests handler
  26. _sharedVideoPlayer: any;
  27. }
  28. interface Document {
  29. mozCancelFullScreen?: Function;
  30. webkitExitFullscreen?: Function;
  31. }
  32. const config: IConfig;
  33. const JitsiMeetJS: any;
  34. interface HTMLMediaElement {
  35. setSinkId: (id: string) => Promise<undefined>;
  36. stop: () => void;
  37. }
  38. }