/** Model registry abstraction the runtime depends on (resolution + API keys). */
import type { Api, Model } from '../ai/types.js';
export type RuntimeModel = Model<Api>;
export interface AgentModelRegistry {
    find(provider: string, modelId: string): RuntimeModel | undefined;
    getAll(): RuntimeModel[];
    getApiKey(model: RuntimeModel): Promise<string | undefined>;
    getApiKeyForProvider(provider: string): Promise<string | undefined>;
    getAvailable(): RuntimeModel[];
    getError(): string | undefined;
    isUsingOAuth(model: RuntimeModel): boolean;
    refresh(): void;
}
//# sourceMappingURL=agent-model.d.ts.map