2022-10-18 16:21:48 +00:00
|
|
|
import { IConfig } from "./react/features/base/config/configType";
|
|
|
|
|
|
|
|
export {};
|
|
|
|
|
2022-10-28 10:07:58 +00:00
|
|
|
interface ILocation extends URL {
|
|
|
|
assign(url: string);
|
|
|
|
replace(url: string);
|
|
|
|
reload();
|
|
|
|
};
|
|
|
|
|
2022-10-18 16:21:48 +00:00
|
|
|
interface IWindow {
|
|
|
|
JITSI_MEET_LITE_SDK: boolean;
|
2022-10-28 10:07:58 +00:00
|
|
|
JitsiMeetJS: any;
|
2022-10-18 16:21:48 +00:00
|
|
|
config: IConfig;
|
2022-11-01 12:36:32 +00:00
|
|
|
document: any;
|
|
|
|
innerHeight: number;
|
|
|
|
innerWidth: number;
|
2022-10-18 16:21:48 +00:00
|
|
|
interfaceConfig: any;
|
2022-10-28 10:07:58 +00:00
|
|
|
location: ILocation;
|
2022-11-01 12:36:32 +00:00
|
|
|
self: any;
|
|
|
|
top: any;
|
|
|
|
|
|
|
|
onerror: (event: string, source: any, lineno: any, colno: any, e: Error) => void;
|
|
|
|
onunhandledrejection: (event: any) => void;
|
|
|
|
|
2022-11-22 13:56:37 +00:00
|
|
|
setInterval: typeof setInterval;
|
|
|
|
clearInterval: typeof clearInterval;
|
2022-11-01 12:36:32 +00:00
|
|
|
setTimeout: typeof setTimeout;
|
|
|
|
clearTimeout: typeof clearTimeout;
|
|
|
|
setImmediate: typeof setImmediate;
|
|
|
|
clearImmediate: typeof clearImmediate;
|
2022-11-11 08:20:33 +00:00
|
|
|
addEventListener: Function;
|
2022-10-18 16:21:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
interface INavigator {
|
|
|
|
product: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare global {
|
|
|
|
const APP: any;
|
2022-11-01 12:36:32 +00:00
|
|
|
const document: any;
|
2022-10-18 16:21:48 +00:00
|
|
|
const interfaceConfig: any;
|
|
|
|
const navigator: INavigator;
|
|
|
|
const window: IWindow;
|
|
|
|
}
|