import type { NativeConnectRequest } from "../components/capabilities/native-connect-setup.js"; import type { OpenGeniBrowserClient } from "@opengeni/sdk/browser"; /** * Workspace GitHub App setup through the same durable Connect flow as the * Plugins page GitHub card. The authorization link is minted when this attempt * starts, not when the page loaded: a page-load link expires after ten minutes * and then shows a raw error. Cancel on GitHub, owner approval pending, and a * failed proof are all reported by the Connect dialog. */ export declare function githubAppConnectRequest(workspaceId: string, transport: NativeConnectRequest["scope"]["transport"], returnUrl: string): NativeConnectRequest; /** * Opens GitHub's repository settings for one installation through a link * minted now. Installation settings links carry the same ten-minute state as * the connect link, so a copy captured at page load cannot be used. */ export declare function openGitHubInstallationSettings(client: Pick, workspaceId: string, installationId: number, navigate: (url: string) => void): Promise;