declare let meta: { envMode: "browser" | "electron"; window: { focused: boolean; state: "neutral" | "maximized" | "minimized" | "fullScreened"; }; }; /** * Minimize browser window */ export declare function minimizeWindow(): void; /** * Maximize the window */ export declare function maximizeWindow(): void; /** * Restore the window */ export declare function restoreWindow(): void; /** * Listen for window state changes * @param event Event name * @param listener Event callback */ export declare function on(event: "windowStateChange", listener: () => void): string; /** * Listen for when the window's focus state changes * @param event Event name * @param listener Event callback */ export declare function on(event: "windowFocusChange", listener: () => void): string; /** * Listen for window state changes * @param event Event name * @param listener Event callback */ export declare function once(event: "windowStateChange", listener: () => void): string; /** * Listen for when the window's focus state changes * @param event Event name * @param listener Event callback */ export declare function once(event: "windowFocusChange", listener: () => void): string; /** * Remove an event listener * @param eventID The event's ID */ export declare function removeListener(eventID: string): void; /** * Get app meta data as a copy * @returns Meta data */ export declare function getMeta(): typeof meta; export {};