import type { SessionEntry } from "../../config/sessions.js"; import type { OpenClawConfig } from "../../config/types.openclaw.js"; import type { ReplyPayload } from "../types.js"; import type { CommandHandler } from "./commands-types.js"; type ModelsCommandSessionEntry = Partial>; export type ModelsProviderData = { byProvider: Map>; providers: string[]; resolvedDefault: { provider: string; model: string; }; modelNames: Map; runtimeChoicesByProvider?: Map; }; export type ModelsRuntimeChoice = { id: string; label: string; description: string; }; export declare function buildModelsProviderData(cfg: OpenClawConfig, agentId?: string, options?: { view?: "default" | "all"; workspaceDir?: string; }): Promise; export declare function formatModelsAvailableHeader(params: { provider: string; total: number; cfg: OpenClawConfig; agentDir?: string; workspaceDir?: string; sessionEntry?: ModelsCommandSessionEntry; }): string; export declare function resolveModelsCommandReply(params: { cfg: OpenClawConfig; commandBodyNormalized: string; surface?: string; currentModel?: string; agentId?: string; agentDir?: string; workspaceDir?: string; sessionEntry?: ModelsCommandSessionEntry; }): Promise; export declare const handleModelsCommand: CommandHandler; export {};