import type { ScopeEditorRequest } from "../../ui-core/controllers/overlay-controller.js"; import type { InkTheme } from "../render/ink-theme.js"; import { type PanelFrameInput } from "./panel-frame.js"; import { type PanelKeyResult } from "./panel-effect.js"; export interface ScopePanelState { readonly targets: readonly string[]; readonly cursor: number; readonly editing: boolean; readonly draft: string; readonly top: number; } export declare function scopeInitialState(request: ScopeEditorRequest): ScopePanelState; export declare function scopeRowCount(state: ScopePanelState): number; export interface ScopeKeyInput { readonly state: ScopePanelState; readonly chord: string; readonly text?: string | undefined; readonly rows: number; } export declare function scopeKey(input: ScopeKeyInput): PanelKeyResult; export interface ScopeViewInput { readonly ink: InkTheme; readonly columns: number; readonly rows: number; readonly state: ScopePanelState; } export declare function scopeView(input: ScopeViewInput): PanelFrameInput;