/** * GitHub device-flow endpoints for the dashboard "Connect GitHub" button. * The dashboard polls `/complete` every ~3s from the moment the user * sees the short code until GitHub reports approved / denied / expired. * That keeps the polling logic in the browser where we can show * progress instead of tying up a server request. * * - GET /api/auth/github/status — is a token stored? * - POST /api/auth/github/start — kick off device flow; returns user code * - POST /api/auth/github/complete — finalize (poll GitHub once, store token on success) */ import type { IncomingMessage, ServerResponse } from "node:http"; import type { RouteContext } from "../route-context.js"; export declare function handle(req: IncomingMessage, res: ServerResponse, ctx: RouteContext): Promise; //# sourceMappingURL=auth-github.d.ts.map