import { Observable, Subject } from 'rxjs'; import { DestroyRef } from '@angular/core'; import { CfDialogRef, CfLoggerService } from 'codefoxui'; import { ElectronIpcReceiveValueMap, ElectronIpcSendValueMap } from '../interfaces/electron.interfaces'; import { VersionInfo } from '../interfaces/general.interfaces'; import * as i0 from "@angular/core"; export declare class ElectronService { loggerService: CfLoggerService; onSubject: Subject<{ key: any; value: any; }>; preventConsoleLog: boolean; parentTabGuid: string | null; debugMode: boolean; shutdownMessage: string; shutdownTime: string | null; clientSlug: string | null; versionInfo: VersionInfo | null; live: boolean; projectGuid: string; guid: string; urlState: { [key: string]: any; }; state: { [key: string]: any; }; settings: { [key: string]: any; }; titleStore: { title: string; dialogRef: CfDialogRef | null; }[]; private ipcRenderer; getUrlState(urlState: string, defaultOnUndefined?: any): any; getState(key: string, defaultOnUndefined: T): any; setState(key: string, value: any): void; send(key: T, value: ElectronIpcSendValueMap[T]): void; on(onKey: T): Observable; onLivedatasetUpdate(datasetName: string, destroyRef: DestroyRef): Observable; onBroadcastMessage(key: string, destroyRef: DestroyRef): Observable; openUrl(url: string, params?: { urlState?: { [key: string]: any; }; checkAlreadyOpened?: boolean; jumpToFirstOrOpen?: boolean; title?: string; openConsole?: boolean; }): void; /** * Set title * * Push title to titleStore * Override title if the same `CfDialogRef` is existing * * @param title strint * @param dialogRef `CfDialogRef` or `null` */ setTitle(title: string, dialogRef?: CfDialogRef | null): void; lock(module: string, id: string | number, send: boolean): void; releaseLock(module: string, id: string | number): void; getSettings(key: string, defaultOnUndefined: T): any; forceClose(): void; sendGuidMessageToParent(data: any): void; broadcast(key: string, data: any): void; initialize(): void; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }