import type { CreatePublishJobResponse, DesktopAccountInfo, DesktopPublishTaskListResponse, DesktopRuntimeSessionSyncRequest, ListDesktopPublishTasksParams, } from "@geo/shared-types"; import type { DesktopRuntimeSnapshot } from "./types"; export {}; declare global { interface Window { desktopBridge: { app: { ping(): Promise; runtimeSnapshot(): Promise; bindPublishAccount(platformId: string): Promise; refreshRuntimeAccounts(): Promise; openPublishAccountConsole(account: { id: string; platform: string; platformUid: string; displayName: string; }): Promise; unbindPublishAccount(accountId: string, syncVersion: number): Promise; listPublishTasks(params?: ListDesktopPublishTasksParams): Promise; retryPublishTask(taskId: string): Promise; syncRuntimeSession(session: DesktopRuntimeSessionSyncRequest | null): Promise; releaseRuntimeSession(revoke?: boolean): Promise; }; }; } }