import { MouseEvent } from 'react';
/** @return the selected text in the current window window */
export declare function getSelectionText(): string;
/** Invoke the given handler only if there is no text selection */
export default function whenNothingIsSelected(handler: (evt: MouseEvent) => void): (evt: MouseEvent) => void;
