import type { KeyEvent } from "../../tui/input/types.js";
import { JsonNode } from "./types.js";
export type JsonPaneState = {
    root: JsonNode;
    open: Set<string>;
    cursorPath: string;
    scrollTop: number;
    releaseFocus: boolean;
};
export declare function flattenJsonRows(state: JsonPaneState): string[];
export declare function handlePaneKey(state: JsonPaneState, event: KeyEvent): JsonPaneState;
export declare function findByPath(root: JsonNode, path: string): JsonNode | undefined;
