import type { BrowserKernel, BrowserNewTabOptions, BrowserOS } from "./type"; export declare class BrowserUtil { static os(): BrowserOS; static kernel(): BrowserKernel; static isMobile(): boolean; static removeElement(element: HTMLElement | null): void; static scrollTo(options: ScrollToOptions, container?: Element | null): void; /** * Open new tab if windowName is not given. * Resolve when new tab is loaded, only applicable to same domain. * Ref: https://stackoverflow.com/questions/3030859/detecting-the-onload-event-of-a-window-opened-with-window-open */ static openTab(url: string, sizeOptions?: Partial): Window | null; static isDarkTheme(): boolean; }