import lodash from 'lodash';
import React from 'react';
type Props = {
    children: (text: string) => JSX.Element;
    container: HTMLElement;
};
export declare class TextSelectionToolbar extends React.Component<Props, {
    selectedText: string;
    selectedTextPosition?: {
        x: number;
        y: number;
    };
}> {
    constructor(props: Props);
    removeTextSelectionListener?: () => void | null;
    componentDidMount(): void;
    componentWillUnmount(): void;
    componentWillReceiveProps(nextPros: Props): void;
    addTextSelectionListener: (container: HTMLElement) => void;
    setSelectedText: lodash.DebouncedFunc<(selectedText: any, selectedTextPosition: any) => void>;
    render(): React.JSX.Element | null;
}
export {};
//# sourceMappingURL=text-selection-toolbar.d.ts.map