interface Window { CONSTANTS: any; versionInfo: any; Events: any; deleteAllData: any; clearLocalData: any; getAccountManager: any; getConversations: any; getFriendsFromContacts: any; mnemonic: any; clipboard: any; attemptConnection: any; setZoomFactor: any; passwordUtil: any; userConfig: any; shortenPubkey: any; dcodeIO: any; libsignal: any; libloki: any; displayNameRegex: any; Signal: any; Whisper: any; ConversationController: any; // Following function needs to be written in background.js // getMemberList: any; onLogin: any; setPassword: any; textsecure: any; Session: any; log: any; i18n: any; friends: any; generateID: any; storage: any; pushToast: any; confirmationDialog: any; showQRDialog: any; showSeedDialog: any; showPasswordDialog: any; showEditProfileDialog: any; deleteAccount: any; toggleTheme: any; toggleMenuBar: any; toggleSpellCheck: any; toggleLinkPreview: any; toggleMediaPermissions: any; getSettingValue: any; setSettingValue: any; lokiFeatureFlags: any; resetDatabase: any; } interface Promise { ignore(): void; }