UNPKG

@superpowered/menubar

Version:

high level way to create menubar desktop applications with electron

15 lines (14 loc) 480 B
/** * @ignore */ /** */ import { BrowserViewConstructorOptions, BrowserWindow } from 'electron'; import { Options } from '../types'; /** * Take as input some options, and return a sanitized version of it. * * @param opts - The options to clean. * @ignore */ export declare function isBrowserWindowInstance(browserWindow: BrowserWindow | BrowserViewConstructorOptions): browserWindow is BrowserWindow; export declare function cleanOptions(opts?: Partial<Options>): Options;