You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/ts/global.d.ts

73 lines
1.2 KiB
TypeScript

interface Window {
CONSTANTS: any;
5 years ago
versionInfo: any;
renderConversationView: any;
Events: any;
Lodash: any;
deleteAllData: any;
clearLocalData: any;
getAccountManager: any;
5 years ago
getConversations: any;
getConversationByKey: any;
getMessagesByKey: any;
getFriendsFromContacts: any;
mnemonic: any;
clipboard: any;
attemptConnection: any;
passwordUtil: any;
userConfig: any;
5 years ago
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;
5 years ago
toggleMenuBar: any;
toggleSpellCheck: any;
toggleLinkPreview: any;
toggleMediaPermissions: any;
getSettingValue: any;
setSettingValue: any;
lokiFeatureFlags: any;
resetDatabase: any;
}
interface Promise<T> {
ignore(): void;
}