import type { SessionInfo } from "../session/session-listing";
/**
 * Show the TUI session selector and return the selected session, or null if
 * cancelled. Tab toggles between current-folder and all-projects scope; the
 * all-projects list is loaded lazily via `SessionManager.listAll`.
 */
export declare function selectSession(sessions: SessionInfo[], options?: {
    allSessions?: SessionInfo[];
    startInAllScope?: boolean;
}): Promise<SessionInfo | {
    newSessionQuery: string;
} | null>;
