export type PromptView = { lineOffset: number; visibleLines: string[]; cursorLineInView: number; cursorCol: number; showPlaceholder: boolean; }; export declare function splitLineAtCursor(line: string, col: number): { left: string; at: string; right: string; }; export declare function getPromptView(value: string, cursor: number, maxVisibleLines: number): PromptView;