export declare const GITHUB_MODELS_BASE_URL = "https://models.github.ai/inference";
export declare const GITHUB_MODELS_API_VERSION = "2026-03-10";
export declare function resolveGitHubModelsApiKey(env: Record<string, string | undefined>): string | null;
export declare function resolveGitHubCopilotBackendModelId(model: string): string;
export declare function buildGitHubModelsHeaders(existing?: Record<string, string>): Record<string, string>;
export declare function resolveGitHubModelsCompatFallbackModelId(modelId: string): string | null;
export declare function shouldRetryGitHubModelsCompat(error: unknown): boolean;
