import type { Api } from '@earendil-works/pi-ai'; import type { CopilotModelFacts } from './model-protocol.ts'; /** * Narrow compatibility metadata for account models that GitHub releases before * the published pi-ai Copilot catalog catches up. Correct native protocol and * capability metadata retire the correction; a matching ID alone does not. */ export interface TemporaryGitHubCopilotModel { readonly id: string; readonly name: string; readonly api: Api; readonly baseUrl: string; readonly contextWindow: number; readonly maxTokens: number; readonly input: readonly ('text' | 'image')[]; readonly reasoningEfforts: Readonly>; readonly headers: Readonly>; } /** Return a narrow correction until the native entry supplies the verified capabilities. */ export declare function temporaryGitHubCopilotModel(modelId: string, installedModels: ReadonlyMap, nativeAuthoritative?: boolean): TemporaryGitHubCopilotModel | undefined; /** Minimal llm-pi-ai settings entry for one temporary model. */ export declare function temporaryGitHubCopilotModelProfile(model: TemporaryGitHubCopilotModel): Record; /** Recognize metadata written by this overlay without matching user-owned extras. */ export declare function temporaryGitHubCopilotModelFromProfile(value: Readonly>): TemporaryGitHubCopilotModel | undefined; //# sourceMappingURL=temporary-models.d.ts.map