//#region src/shared/app.types.d.ts type AppPathName = "home" | "appData" | "userData" | "sessionData" | "temp" | "exe" | "module" | "desktop" | "documents" | "downloads" | "music" | "pictures" | "videos" | "logs" | "crashDumps"; interface LoginItemSettings { openAtLogin: boolean; openAsHidden: boolean; } type LoginItemSettingsOptions = { type?: "current" | "legacy"; }; type SetLoginItemSettingsOptions = { openAtLogin?: boolean; openAsHidden?: boolean; name?: string; path?: string; args?: string[]; icon?: string; }; type GPUFeatureStatus = Partial>; interface ProcessMetric { pid: number; type: string; memory?: { workingSetSize: number; peakWorkingSetSize: number; }; cpu?: { percent: number; idleWakeupsPerSecond: number; }; } interface AboutPanelOptions { name?: string; version?: string; copyright?: string; website?: string; credits?: string; license?: string; authors?: string[]; iconPath?: string; executableVersion?: string; buildNumber?: string; } type GetFileIconOptions = { size?: "normal" | "small" | "large"; }; interface SerializedNativeImage { toPNG(): Uint8Array; toDataURL(): string; size: { width: number; height: number; }; _data: Uint8Array; } interface RelaunchOptions { execPath?: string; args?: string[]; } type FocusOptions = { steal?: boolean; }; declare namespace index_d_exports { export { AppEventCallbacks, addRecentDocument, clearRecentDocuments, exit, focus, getAppMetrics, getAppPath, getBadgeCount, getFileIcon, getGPUFeatureStatus, getGPUInfo, getLocale, getLocaleCountryCode, getLoginItemSettings, getName, getPath, getPreferredSystemLanguages, getRecentDocuments, getSystemLocale, getVersion, hasSingleInstanceLock, hide, isAccessibilitySupportEnabled, isDefaultProtocolClient, isEmojiPanelSupported, isReady, off, on, once, quit, relaunch, releaseSingleInstanceLock, removeAsDefaultProtocolClient, requestSingleInstanceLock, setAboutPanelOptions, setAccessibilitySupportEnabled, setAppLogsPath, setAsDefaultProtocolClient, setBadgeCount, setLoginItemSettings, setName, setPath, show, showAboutPanel, showEmojiPanel }; } declare function getName(): Promise; declare function setName(name: string): Promise; declare function getVersion(): Promise; declare function getAppPath(): Promise; declare function getLocale(): Promise; declare function getSystemLocale(): Promise; declare function getPreferredSystemLanguages(): Promise; declare function getLocaleCountryCode(): Promise; declare function isReady(): Promise; declare function getPath(name: AppPathName): Promise; declare function setPath(name: AppPathName, path: string): Promise; declare function setAppLogsPath(path?: string): Promise; declare function quit(): Promise; declare function exit(exitCode?: number): Promise; declare function relaunch(options?: RelaunchOptions): Promise; declare function focus(options?: FocusOptions): Promise; declare function hide(): Promise; declare function show(): Promise; declare function addRecentDocument(path: string): Promise; declare function clearRecentDocuments(): Promise; declare function getRecentDocuments(): Promise; declare function setAsDefaultProtocolClient(protocol: string, path?: string, args?: string[]): Promise; declare function removeAsDefaultProtocolClient(protocol: string, path?: string, args?: string[]): Promise; declare function isDefaultProtocolClient(protocol: string, path?: string, args?: string[]): Promise; declare function requestSingleInstanceLock(additionalData?: unknown): Promise; declare function hasSingleInstanceLock(): Promise; declare function releaseSingleInstanceLock(): Promise; declare function setBadgeCount(count: number): Promise; declare function getBadgeCount(): Promise; declare function getLoginItemSettings(options?: LoginItemSettingsOptions): Promise; declare function setLoginItemSettings(settings: SetLoginItemSettingsOptions): Promise; declare function isAccessibilitySupportEnabled(): Promise; declare function setAccessibilitySupportEnabled(enabled: boolean): Promise; declare function showAboutPanel(): Promise; declare function setAboutPanelOptions(options: AboutPanelOptions): Promise; declare function getGPUFeatureStatus(): Promise; declare function getGPUInfo(infoType: "complete" | "basic"): Promise; declare function getAppMetrics(): Promise; declare function isEmojiPanelSupported(): Promise; declare function showEmojiPanel(): Promise; declare function getFileIcon(path: string, options?: GetFileIconOptions): Promise; interface AppEventCallbacks { "window-all-closed": () => void; quit: (data: { exitCode: number; }) => void; "browser-window-created": (data: { id: number; title: string; }) => void; "browser-window-focus": (data: { id: number; title: string; }) => void; "browser-window-blur": (data: { id: number; title: string; }) => void; "web-contents-created": (data: { id: number; }) => void; "open-file": (data: { path: string; }) => void; "open-url": (data: { url: string; }) => void; "second-instance": (data: { argv: string[]; workingDirectory: string; }) => void; "accessibility-support-changed": (data: { enabled: boolean; }) => void; } declare function on(event: K, callback: AppEventCallbacks[K]): () => void; declare function once(event: K, callback: AppEventCallbacks[K]): void; declare function off(event: K, callback?: AppEventCallbacks[K]): void; //#endregion export { once as A, setBadgeCount as B, index_d_exports as C, isReady as D, isEmojiPanelSupported as E, requestSingleInstanceLock as F, showAboutPanel as G, setName as H, setAboutPanelOptions as I, showEmojiPanel as K, setAccessibilitySupportEnabled as L, relaunch as M, releaseSingleInstanceLock as N, off as O, removeAsDefaultProtocolClient as P, setAppLogsPath as R, hide as S, isDefaultProtocolClient as T, setPath as U, setLoginItemSettings as V, show as W, getPreferredSystemLanguages as _, focus as a, getVersion as b, getBadgeCount as c, getGPUInfo as d, getLocale as f, getPath as g, getName as h, exit as i, quit as j, on as k, getFileIcon as l, getLoginItemSettings as m, addRecentDocument as n, getAppMetrics as o, getLocaleCountryCode as p, clearRecentDocuments as r, getAppPath as s, AppEventCallbacks as t, getGPUFeatureStatus as u, getRecentDocuments as v, isAccessibilitySupportEnabled as w, hasSingleInstanceLock as x, getSystemLocale as y, setAsDefaultProtocolClient as z }; //# sourceMappingURL=index-BV7t6X4Z.d.mts.map