/** * `/workflows-models` command handler — the role-routing editor (issue #142). * * Uses Pi's built-in `ctx.ui.select()`, `ctx.ui.confirm()`, and `ctx.ui.notify()` * to let users view and manage model routing configuration for workflows. * * The primary surface is the semantic role layer (worker / conductor / advisor / * security), each with a default model and optional named specialist routes * (e.g. escalation, long-context, independent). A clearly-marked legacy-tier * migration section (small/medium/big) is preserved for compatibility — size * tiers are accepted only as deprecated migration inputs. * * Model selection draws from the same `listAvailableModelSpecs()` that powers * Pi's `/model` command, so users see exactly the same models. */ import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent"; /** * Register the `/workflows-models` command with Pi. */ export declare function registerWorkflowModelsCommand(pi: ExtensionAPI): void; /** * Interactive editor for a single legacy tier — scrollable model picker. * * Returns the updated tiers object, or null if nothing changed. * * @deprecated Kept for the legacy-tier migration section; new code edits roles. */ export declare function editSingleTier(ctx: ExtensionCommandContext, tiers: Record, tierName: string): Promise | null>;