export declare const COPILOT_HEADERS: Record; /** Derive the Copilot API base URL from a Copilot token's `proxy-ep` field. * Rejects hostnames that are not public Copilot endpoints (SSRF guard). */ export declare function copilotBaseUrlFromToken(token: string | undefined): string; export interface CopilotTokenResult { /** The short-lived Copilot token (the access token used for chat). */ token: string; /** Absolute expiry in epoch milliseconds. */ expires: number; } /** Mint a fresh Copilot token from the long-lived GitHub OAuth token. */ export declare function refreshCopilotToken(githubToken: string, signal?: AbortSignal): Promise; //# sourceMappingURL=github-copilot-token.d.ts.map