import { type ReactNode } from "react"; /** * Opens workspace GitHub App setup from a click in the new-session repository * picker (the session route hosts the same request in its own Connect dialog). * * The dialog must live outside the repository menu: the menu closes when the * authorization popup takes focus, and that would unmount the dialog with it. */ export declare function useGitHubAppConnectLauncher(workspaceId: string): { open: () => void; element: ReactNode; };