import { AccountInfo, BallonInfo, PopupInfo, TrayMessageInfo, WindowOpenStyle, WorkTableTabInfo } from './interface'; declare const xElectron: any; export declare function getAccountInfo(): Promise; export declare function triggerLogout(errorMsg: string): Promise; export declare function onAccountChange(handler: (accountInfo: AccountInfo) => void): Promise; export declare function offAccountChange(handler: (accountInfo: AccountInfo) => void): Promise; export declare function setUnreadMessageCount(count: number): Promise; export declare function blinkTray(info: BallonInfo): Promise; export declare function stopBlinkTray(): Promise; export declare function getWebContentOffset(): Promise<[x: number, y: number]>; export declare function openInWorkTable(workTableTabInfo: WorkTableTabInfo): Promise; export declare function openInPopup(popupInfo: PopupInfo): Promise; export declare function closePopup(): Promise; export declare function setDefaultWindowOpen(style: WindowOpenStyle): Promise; export declare function addTrayMessage(info: TrayMessageInfo): Promise; export declare function deleteTrayMessage(info: TrayMessageInfo): Promise; export declare function onTrayMessageClick(handler: (info: TrayMessageInfo) => Promise): Promise; export { xElectron };