import type { TuiBackend } from './tui-backend.js'; export declare const GENERATED_TUI_SESSION_SHELL_PATCH: { readonly hiddenFromSessionList: true; readonly customData: { readonly genericNewChatShell: true; }; }; export declare function isGeneratedTuiSessionKey(sessionKey: string): boolean; export declare function deleteGeneratedTuiSessionIfEmpty(client: Pick, sessionKey: string): Promise; export declare function cleanupAbandonedTuiSessions(client: Pick, currentSessionKey: string, nowMs?: number): Promise; export declare function hideLegacyEmptyTuiSessions(client: Pick): Promise;