import type { ResolvedModelFlag } from "../config/config.js"; /** Turn `agency run --local ` into the shared model-flag shape: * resolve the name, and for a GGUF model download and verify if needed * (progress prints here, in the parent, before the program starts) and pin * the llama-cpp provider. An MLX model pins the mlx provider and the name * the running server knows it by. Errors (package missing, unknown * name, failed download) carry user-ready messages from localModels. * * The path is absolutized before it is baked into config: LlamaCPP rejects a * bare separator-less filename (ambiguous with a model name), which is what * a user-supplied `--local model.gguf` would otherwise arrive as, and an * absolute path also keeps the child process independent of cwd drift. */ export declare function resolveLocalRunFlag(value: string, draft?: string): Promise;