import { NgZone } from '@angular/core'; import { Action, Store } from '@ngrx/store'; import { Router } from '@angular/router'; import { Observable } from 'rxjs'; import { BrowserWindow, BrowserWindowConstructorOptions } from 'electron'; import { NgxElectronService, ParentParams } from '@ngx-electron/core'; export declare class StoreService { private store$; private ngZone; private router; private electronService; constructor(store$: Store, ngZone: NgZone, router: Router, electronService: NgxElectronService); /** * 发送action id用来指定要发送的win对象 需要指定 */ dispatch(action: Action, ...ids: number[]): any; /** * 发送action key用来指定要发送的win对象 调用此方法需要主进程初始化@ngx-electron/electron-main模块 */ dispatch(action: Action, ...keys: string[]): any; openPage(routerUrl: string, options?: BrowserWindowConstructorOptions, { key, actions, webHandler, complete, created, parent }?: { key?: string; actions?: Observable[]; webHandler?: () => void; complete?: () => void; created?: (win: BrowserWindow) => void; parent?: ParentParams; }): BrowserWindow; }