import type { Message } from "@kenkaiiii/gg-ai";
/** Extract visible text from a persisted message content value. */
export declare function extractSessionText(content: Message["content"] | unknown): string;
/**
 * Return user-authored prompt text suitable for a stable session title.
 * Compaction summaries and Ken's autopilot injections are model-owned context,
 * not new conversations, so they must never replace the user's title.
 */
export declare function getUserSessionPrompt(content: Message["content"] | unknown): string | null;
export declare function findUserSessionPrompt(messages: readonly Message[]): string;
//# sourceMappingURL=session-preview.d.ts.map