/** * GitHub app connection — link / inspect / unlink the platform's GitHub * app installation for a given environment. * * POST /github/connect — start OAuth / install flow * GET /github/connect/:envId — connection state * DELETE /github/connect/:envId — unlink */ import type { Client } from './client.js'; export interface GithubConnection { readonly envId: string; readonly installationId: string | null; readonly repoFullName: string | null; readonly branch: string | null; readonly connectedAt: string | null; readonly connectedBy: string | null; } export interface ConnectInput { readonly envId: string; readonly installationId: string; readonly repoFullName: string; readonly branch?: string; } export declare const connect: (client: Client, body: ConnectInput) => Promise<{ connection: GithubConnection; }>; export declare const getConnection: (client: Client, envId: string) => Promise<{ connection: GithubConnection | null; }>; export declare const disconnect: (client: Client, envId: string) => Promise<{ success: boolean; }>; //# sourceMappingURL=github.d.ts.map