import type { ConfigTarget } from "../config/target.js"; import { type ModelKind } from "./modelKind.js"; import { type DownloadedModel, type ModelNameEntry } from "./localModels.js"; /** The `agency local list` view: every usable model (curated + aliases) with * a downloaded marker, then cache-dir files no catalog entry claims. A row * is "downloaded" when the manifest maps its target URI to a file that still * exists in the cache dir; its SIZE column then shows the on-disk size * rather than the catalog estimate. Compact and operational by default; * `long` (the `-l` flag) adds each model's description on its own dimmed * line, with a blank line between models so the descriptions stay readable. * Returns the block with no trailing newline (the caller's `console.log` * adds exactly one). */ export declare function formatLocalList(args: { dir: string; entries: ModelNameEntry[]; manifest: Record; files: DownloadedModel[]; long?: boolean; /** Show only models of this kind. */ kind?: ModelKind; }): string; /** Render the usable-model list as an aligned table: a header row plus one * fact row per curated model (params, tags, size, context window, * license), the description on a dimmed line below, a blank line between * models. User aliases (which carry no metadata) follow in an ALIASES * section as `name → target`. Returns the block as a string with no trailing * newline (the caller's `console.log` adds exactly one). */ export declare function formatModelCatalog(target?: ConfigTarget): string; /** Print the model catalog to stdout. The agent's bare `--local-model` * path calls this through `std::agency/local`. */ export declare function _printLocalCatalog(): void;