import type { InputCoreState } from '../input-core.js'; import type { AutocompleteState } from './autocomplete-state.js'; import type { ImageAttachment } from './attachments.js'; import type { ReverseSearchState } from './reader.reverse-search.js'; export interface ReaderState { input: InputCoreState; ac: AutocompleteState; rowsBelow: number; pasting: boolean; clipboardInFlight: boolean; pasteStartBufferLen: number; prevBufferRows: number; prevStatusRows: number; clipboardFailureMsg: string | null; attachments: ImageAttachment[]; maxDropdownRows: number; lastKeypressAt: number; repaintPending: boolean; settled: boolean; reverseSearch: ReverseSearchState; }