import type { LanguageModel } from "ai";
export declare const CLI_VERSION: string;
export declare const ORIGIN = "codex_cli_ts";
export type TerminalChatSession = {
    /** Globally unique session identifier */
    id: string;
    /** The OpenAI username associated with this session */
    user: string;
    /** Version identifier of the Codex CLI that produced the session */
    version: string;
    /** The model used for the conversation */
    model: string;
    /** ISO timestamp noting when the session was persisted */
    timestamp: string;
    /** Optional custom instructions that were active for the run */
    instructions: string;
};
/**
 * Update the globally tracked session identifier.
 * Passing an empty string clears the current session.
 */
export declare function setSessionId(id: string): void;
/**
 * Retrieve the currently active session identifier, or an empty string when
 * no session is active.
 */
export declare function getSessionId(): string;
/**
 * Record the model that is currently being used for the conversation.
 * Setting an empty string clears the record so the next agent run can update it.
 */
export declare function setCurrentModel(model: LanguageModel): void;
/**
 * Return the model that was last supplied to {@link setCurrentModel}.
 * If no model has been recorded yet, an empty string is returned.
 */
export declare function getCurrentModel(): LanguageModel | null;
