import type { View } from "../views/view.js"; export type ScreenName = "overview" | "trace" | "transcript" | "timeline"; export declare const SCREEN_ORDER: ScreenName[]; export type Screen = Omit & { screenName: ScreenName; focusId(): string | undefined; /** The row under the cursor, as itself, where `focusId` names the row * focus would travel to. Screens whose cursor row is its own focus omit it. */ selectedRowId?(): string | undefined; setFocus(id: string): void; setTrace(traceId: string): void; escape(): boolean; applySearch(query: string): void; }; export declare function screenForKey(key: string): ScreenName | undefined;