import type { CursorState, RepoGroup } from './types.js';
export type CursorListMode = 'agents-window' | 'editor';
export declare function resolveCursorListMode(state: CursorState): CursorListMode;
/** Editor layout: one Cursor editor window → repo folder; auxiliary-bar tabs → chats. */
export declare function buildEditorRepos(state: CursorState): RepoGroup[];
export declare function computeEditorListPatch(state: CursorState): Pick<CursorState, 'editorRepos' | 'cursorListMode'> | null;
