/** * Model selection — resolve the (provider, model) the engine generates with, * from CLI flags → SKILLET_* env → the built-in openai default. Validation and the * API-key check are added in later tasks. The engine accepts the resolved Model via * GenerateOptions.model and never picks a provider itself. */ import { getModel } from '@earendil-works/pi-ai'; export declare class ModelResolutionError extends Error { constructor(message: string); } export interface ResolvedModel { model: ReturnType; provider: string; modelId: string; } /** * Provider → API-key env var(s). Mirrors pi-ai's internal (unexported) table so the error * can name the exact var (it is NOT a naive _API_KEY — e.g. google→GEMINI_API_KEY) * and so we recognize API-key providers. Drift-guarded by a test in model.test.ts. */ export declare const KEY_ENV_VARS: Record; export declare function resolveModel(opts?: { provider?: string; modelId?: string; }): ResolvedModel; //# sourceMappingURL=model.d.ts.map