import { Disposable } from "../../../../base/common/lifecycle.js"; import { IObservable } from "../../../../base/common/observable.js"; import { IStorageService } from "../../../../platform/storage/common/storage.service.js"; import { IModelPickerComparison, IModelPickerComparisonState, IModelPickerComparisonVariant } from "../../../../workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerComparison.js"; /** One resolved attempt: a selected model, and its configuration override when it is a variant. */ export interface IComparisonAttempt { readonly modelId: string; readonly configuration?: Readonly>; /** The variant's display label, e.g. "Max", when this attempt is a variant of its model. */ readonly variantLabel?: string; } export declare class SessionComparisonModelSelection extends Disposable implements IModelPickerComparison { readonly available: IObservable; private readonly _getModelLabel; private readonly _reviewAvailable; private readonly _storageService; private static readonly _discoveredStorageKey; private readonly _committed; private readonly _draft; private readonly _step; readonly label: string; readonly description: import("../../../../base/common/observable.js").IObservableWithChange; readonly startCommandId = "sessions.compareModels"; readonly enabled: import("../../../../base/common/observable.js").IObservableWithChange; readonly configured: import("../../../../base/common/observable.js").IObservableWithChange; readonly showPickerHint: IObservable; readonly attempts: import("../../../../base/common/observable.js").IObservableWithChange; readonly attemptModelIds: import("../../../../base/common/observable.js").IObservableWithChange; readonly judgeModelId: import("../../../../base/common/observable.js").IObservableWithChange; readonly synthesizerModelId: import("../../../../base/common/observable.js").IObservableWithChange; readonly summary: import("../../../../base/common/observable.js").IObservableWithChange; readonly state: import("../../../../base/common/observable.js").IObservableWithChange; constructor(available: IObservable, configurationResolving: IObservable | undefined, _getModelLabel: ((modelId: string) => string | undefined) | undefined, _reviewAvailable: IObservable | undefined, showPickerHint: IObservable | undefined, _storageService: IStorageService); start(): void; cancel(): void; reset(): void; private _getDraft; select(modelId: string): void; getVariants(modelId: string): readonly IModelPickerComparisonVariant[]; addVariant(modelId: string, configuration: Readonly>, label: string, baseConfiguration?: Readonly>): void; removeVariant(modelId: string, index: number): void; reconcileVariants(modelId: string, baseConfiguration: Readonly>): void; setCount(count: number): void; back(): void; next(): void; finish(): void; retainModels(availableIds: ReadonlySet): void; }