/**
 * Named model roles (`agents.defaults.models` / `agents.list[].models`).
 * Merged per agent id for workflow and other callers.
 */
import type { AgentTypedModel, Config } from './schema.js';
export type { AgentTypedModel };
/**
 * Merge defaults + per-agent typed models. Agent entry wins on same `id`.
 */
export declare function mergeTypedModels(defaults?: AgentTypedModel[], entry?: AgentTypedModel[]): Map<string, AgentTypedModel>;
export declare function resolveEffectiveTypedModels(config: Config, agentId: string): Map<string, AgentTypedModel>;
/** Resolve a typed model id to `provider/model`, or undefined when not configured. */
export declare function resolveTypedModelRef(config: Config, agentId: string, typeId: string): string | undefined;
/**
 * Resolve a model reference: `provider/model`, typed id (`small`), or `@small`.
 * Throws when the ref is invalid or the typed id is unknown.
 */
export declare function resolveModelRef(config: Config, agentId: string, ref: string): string;
