import { type AppConfig } from "../config.js";
import type { LLMConfig } from "../tools/agent-loop.js";
import type { JaitBackend } from "./users.js";
export declare class JaitConfigError extends Error {
    readonly code: "CONFIG_ERROR";
}
export interface ResolveJaitLlmOptions {
    config: AppConfig;
    apiKeys?: Record<string, string>;
    requestedModel?: string;
    jaitBackend?: JaitBackend | null;
}
export interface ResolvedJaitLlmConfig extends LLMConfig {
    backend: JaitBackend;
}
export declare function normalizeOpenRouterModelId(model: string): string;
export declare function resolveJaitLlmConfig(options: ResolveJaitLlmOptions): ResolvedJaitLlmConfig;
//# sourceMappingURL=jait-llm.d.ts.map