/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import type { RefObject } from 'react';
import { type DOMElement } from 'ink';
export declare function useMouseSelection({ enabled, rootRef, onCopiedText, }: {
    enabled: boolean;
    rootRef: RefObject<DOMElement | null>;
    onCopiedText?: (text: string) => void;
}): {
    clearSelection: () => void;
};
