import type { ReaderState } from './reader.state.js'; import type { RepaintCtx, repaint as _repaint, schedulePaint as _schedulePaint } from './reader.repaint.js'; import type { applySelection as _applySelection } from './reader.selection.js'; import type { KeyInfo, ReadWithAutocompleteOpts } from './types.js'; interface SubmitCallbacks { onSubmit(): void; } export declare function handleReturnKey(key: KeyInfo, sequence: string, st: ReaderState, opts: ReadWithAutocompleteOpts, inBurst: boolean, callbacks: SubmitCallbacks, repaintFn: typeof _repaint, schedulePaintFn: typeof _schedulePaint, applySelectionFn: typeof _applySelection, repaintCtx: RepaintCtx): boolean; export declare function handleTabKey(st: ReaderState, repaintFn: typeof _repaint, applySelectionFn: typeof _applySelection, repaintCtx: RepaintCtx): void; export {};