import type { DashboardLocateResult, DesktopDeviceStatusResult, LogTail, LogTarget } from '../shared/types.js'; interface RunResult { code: number; stdout: string; stderr: string; signal?: string | null; } interface LoginItemState { openAtLogin: boolean; legacyAutostart?: boolean; legacyPath?: string; } interface BotmuxDesktopApi { getState: () => Promise; getDeviceStatus?: () => Promise; start: () => Promise; stop: () => Promise; restart: () => Promise; takeover: () => Promise; locateDashboard?: () => Promise; getDashboardUrl: () => Promise; listLogTargets: () => Promise; tailLogs: (targetId: string) => Promise; openLogsDir: () => Promise; openBotmuxHome: () => Promise; getLoginItem: () => Promise; setLoginItem: (enabled: boolean) => Promise; onStateChanged: (fn: (state: unknown) => void) => () => void; } declare global { interface Window { botmuxDesktop?: BotmuxDesktopApi; } } export {}; //# sourceMappingURL=app.d.ts.map