import { LiteSelection } from './index'; interface SelectionOptions { shouldSelect(selection: LiteSelection): boolean; onSelect(selection: LiteSelection): T; } export declare function useSelection(opts?: Partial>): T | null; export declare function useTextFragments({ includeHash }?: { includeHash?: boolean | undefined; }): string | null; export {};