import type { AppSpec } from './apps'; export declare const isOpenAppOptionsDeviceSN: (device: OpenAppOptionsDevice) => device is OpenAppOptionsDeviceSN; export declare const isOpenAppOptionsDevicePort: (device: OpenAppOptionsDevice) => device is OpenAppOptionsDevicePort; type OpenAppOptionsDeviceSN = { serialNumber: string; }; type OpenAppOptionsDevicePort = { serialPortPath: string; }; type OpenAppOptionsDevice = OpenAppOptionsDeviceSN | OpenAppOptionsDevicePort; export interface OpenAppOptions { device?: OpenAppOptionsDevice; } type OpenApp = (app: AppSpec, openAppOptions?: OpenAppOptions) => void; type OpenLauncher = () => void; export declare const forRenderer: { registerOpenApp: (handler: OpenApp) => Electron.IpcMain; registerOpenLauncher: (handler: OpenLauncher) => Electron.IpcMain; registerOpenFile: (handler: ((filePath: string) => void) | ((filePath: string) => Promise)) => void; registerOpenUrl: (handler: ((url: string) => void) | ((url: string) => Promise)) => void; registerOpenFileLocation: (handler: ((filePath: string) => void) | ((filePath: string) => Promise)) => void; }; export declare const inMain: { openApp: (app: AppSpec, openAppOptions?: OpenAppOptions | undefined) => void; openLauncher: () => void; openFile: (filePath: string) => Promise; openUrl: (url: string) => Promise; openFileLocation: (filePath: string) => Promise; }; export {}; //# sourceMappingURL=open.d.ts.map