///
import ElectronWindow from "../view/ElectronWindow";
import { ContentWindowMap, HOTKEY_COMPONENT_TYPE, HOTKEY_MAP, HOTKEY_OPTION, HOTKEY_SCAN_TYPE, PRELOAD_CONFIG_MAP, WIN_CONFIG } from "../@types/types";
import { PARSE_TYPE } from "biflow-core/lib/@types/types";
import Singleton from "biflow-core/lib/patterns/Singleton";
import ElectronContextWindow from "../view/ElectronContextWindow";
export default class ElectronApplicationContext extends Singleton {
contextWindow?: ElectronContextWindow;
windowManager: Array;
hotkeys: HOTKEY_MAP;
defaultShortcuts: any;
customShortcuts: any;
menuEvents: any;
preloadConfigMap: PRELOAD_CONFIG_MAP;
sys: {
os: any;
versions: any;
env: any;
};
contentWindow: ContentWindowMap;
displayStartPoint: any;
displayLeftStartPoint: any;
displayRightStartPoint: any;
WIN_DEFAULT_CONFIG: WIN_CONFIG;
parseConfig(type: PARSE_TYPE, _path?: string): any;
loadConfig(_basePath: string, resourcePath: string, additionalInfo?: Array): void;
getAppendedShortcuts(): any;
hotKeyScan: (value: string | string[]) => HOTKEY_SCAN_TYPE[];
addScanElectronWindow: (name: string, module: any, option: any) => void;
prototypeScan: (obj: any) => any;
addScanHotKeys: (module: any, componentType: HOTKEY_COMPONENT_TYPE, option: HOTKEY_OPTION) => HOTKEY_SCAN_TYPE | undefined;
getHotkey: (key: string) => HOTKEY_SCAN_TYPE;
createNewElectronWindow: (parent?: ElectronWindow | ElectronContextWindow, option?: WIN_CONFIG) => {
[key: string]: any;
event(event: any, param: any): boolean | void;
config: WIN_CONFIG;
context?: ElectronContextWindow | undefined;
preloadedConfig: any[];
menu?: import("../view/menu/ElectronMenu").ElectronMenu | undefined;
win?: Electron.CrossProcessExports.BrowserWindow | null | undefined;
parent?: ElectronWindow | ElectronContextWindow | undefined;
children: import("../@types/types").ElectronWindowMap;
id: string;
name: string;
className: string;
preloadConfigs(): any[];
hide(): void;
show(): void;
createAndShow(isShow?: boolean | undefined): void;
boundTempStorage: any;
onWindowBoundChanged(): void;
startWindowBoundWatcher(): void;
releaseWindowBoundWatcher(bounds?: any, eventType?: string | undefined): void;
close: () => void;
parseUri(uri: string | undefined): string | import("url").UrlObject;
loadUrl(): void;
getChild(id: string): ElectronWindow | null;
broadcastEvent(eventKey: string, payout?: any, result?: any, sender?: Electron.IpcMainEvent | undefined, event?: HOTKEY_SCAN_TYPE | undefined): void;
returnSend(eventKey: string, payout?: any, result?: any, sender?: Electron.IpcMainEvent | undefined): void;
};
}
export declare const electronApplicationContext: ElectronApplicationContext;
//# sourceMappingURL=ElectronApplicationContext.d.ts.map