import React from 'react'; import type { LlmModelInfo, LlmProviderInfo } from '../dsh-adapter/types.js'; /** * Model picker in the CC ModelPicker style: a permission-colored Pane with * the rows as Select entries (❯ focus pointer, ✓ on the active row, * descriptions), plus the Enter/Esc hint line. The DSH agent's model is * fixed at creation time, so a selection notifies "restart to apply". * * The catalog is intentionally flat: every available model is visible as * soon as `/model` opens. The human-readable model name is the primary row; * provider identity stays after the name and an optional description stays * on the second line. * Enter switches through the existing live-fork path. * * 长列表按焦点窗口化(Select 同款):picker 经 OverlayAbove 浮层挂载后有 * maxHeight 裁剪,全量渲染会让焦点行被裁掉(看不到焦点按 Enter)。 */ export declare function ModelPicker(props: { models: readonly LlmModelInfo[]; providerInfos?: readonly LlmProviderInfo[]; focusIndex: number; /** `provider/model` of the current model — its row carries the ✓ marker. */ currentModel: string; onPick?: (index: number) => void; }): React.ReactNode; //# sourceMappingURL=ModelPicker.d.ts.map