import type { AgentToolModelConfig } from "../../config/types.agents-shared.js"; import type { KlawConfig } from "../../config/types.klaw.js"; import type { AuthProfileStore } from "../auth-profiles/types.js"; export type ToolModelConfig = { primary?: string; fallbacks?: string[]; timeoutMs?: number; }; export declare function hasToolModelConfig(model: ToolModelConfig | undefined): boolean; export declare function resolveDefaultModelRef(cfg?: KlawConfig): { provider: string; model: string; }; export declare function hasAuthForProvider(params: { provider: string; agentDir?: string; authStore?: AuthProfileStore; }): boolean; export declare function coerceToolModelConfig(model?: AgentToolModelConfig): ToolModelConfig; export declare function buildToolModelConfigFromCandidates(params: { explicit: ToolModelConfig; agentDir?: string; authStore?: AuthProfileStore; candidates: Array; isProviderConfigured?: (provider: string) => boolean; }): ToolModelConfig | null;