import { Observable } from 'rxjs'; import { WindowState } from '../types/window-state.type'; import { WindowIdle } from '../types/window-idle.type'; export interface NativeService { showNotify(noti: NotiRequest): void; checkForUpdates(): Observable; showImageViewer(): void; saveFile(buffer: Buffer, fileName: string, path?: string): Observable; readFile(path: string): Observable; windowStateChanged(): Observable; windowClose(): void; windowMinimize(): void; windowMaximize(): void; idleStateChanged(): Observable; } export interface NotiRequest { roomSeq: string; title: string; contents: string; image: string; useSound: boolean; interval?: number; }