import type { BotConfig } from "../../config/config.js"; import type { SessionEntry } from "../../config/sessions.js"; import type { ReplyPayload } from "../types.js"; import type { CommandHandler } from "./commands-types.js"; export type ModelsProviderData = { byProvider: Map>; providers: string[]; resolvedDefault: { provider: string; model: string; }; }; /** * Build provider/model data from config and catalog. * Exported for reuse by callback handlers. */ export declare function buildModelsProviderData(cfg: BotConfig): Promise; export declare function formatModelsAvailableHeader(params: { provider: string; total: number; cfg: BotConfig; agentDir?: string; sessionEntry?: SessionEntry; }): string; export declare function resolveModelsCommandReply(params: { cfg: BotConfig; commandBodyNormalized: string; surface?: string; currentModel?: string; agentDir?: string; sessionEntry?: SessionEntry; }): Promise; export declare const handleModelsCommand: CommandHandler;