import type { ModelChangeOrigin } from "../../core/model-change-origin.ts";
import type { ModelChangeEntry } from "../../core/session-manager.ts";
/** A durable transcript row for a model switch that landed during a streaming turn (senpi#2870). */
export interface ModelChangeNotice {
    readonly type: "model_change_notice";
    readonly text: string;
}
/** `/model <search> [--default]`: the flag asks for the selection to become the default for new sessions too. */
export declare function parseModelCommandArgument(argument: string | undefined): {
    searchTerm: string;
    asDefault: boolean;
};
export declare function modelChangeNoticeText(input: {
    readonly from: string | undefined;
    readonly to: string;
    readonly origin: ModelChangeOrigin;
}): string;
export declare function liveModelChangeNotice(event: {
    readonly duringTurn: boolean;
    readonly origin: ModelChangeOrigin;
    readonly model: {
        readonly id: string;
    };
    readonly previousModel?: {
        readonly id: string;
    };
}): ModelChangeNotice | undefined;
export declare function replayedModelChangeNotice(entry: ModelChangeEntry): ModelChangeNotice | undefined;
//# sourceMappingURL=model-change-notice.d.ts.map