agent-afk 5.146.3 → 5.146.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,10 @@
1
+ import type { ReaderState } from './reader.state.js';
2
+ import type { RepaintCtx, repaint as _repaint, schedulePaint as _schedulePaint } from './reader.repaint.js';
3
+ import type { applySelection as _applySelection } from './reader.selection.js';
4
+ import type { KeyInfo, ReadWithAutocompleteOpts } from './types.js';
5
+ interface SubmitCallbacks {
6
+ onSubmit(): void;
7
+ }
8
+ 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;
9
+ export declare function handleTabKey(st: ReaderState, repaintFn: typeof _repaint, applySelectionFn: typeof _applySelection, repaintCtx: RepaintCtx): void;
10
+ export {};