import { type FocusMove, type SelectionState } from '../../core/selection.js'; /** * Access to text selection operations on the Ink instance (fullscreen only). * Returns no-op functions when fullscreen mode is disabled. */ export declare function useSelection(): { copySelection: () => string; copySelectionNoClear: () => string; clearSelection: () => void; hasSelection: () => boolean; getState: () => SelectionState | null; subscribe: (cb: () => void) => () => void; shiftAnchor: (dRow: number, minRow: number, maxRow: number) => void; shiftSelection: (dRow: number, minRow: number, maxRow: number) => void; moveFocus: (move: FocusMove) => void; captureScrolledRows: (firstRow: number, lastRow: number, side: 'above' | 'below') => void; setSelectionBgColor: (color: string) => void; }; /** * Reactive selection-exists state. */ export declare function useHasSelection(): boolean; //# sourceMappingURL=use-selection.d.ts.map