import { DraftBlockType, ContentBlock } from 'draft-js';
import Immutable from 'immutable';
import { TCustomControl } from './components/Toolbar';
export declare type TPosition = {
    top: number;
    left: number;
};
export declare type TSelectionInfo = {
    inlineStyle: Immutable.OrderedSet<string>;
    blockType: DraftBlockType;
    entityType: string;
    linkKey: string;
    block: ContentBlock;
};
/**
 * Get the current selection details
 */
declare const getSelectionInfo: (editorState: EditorState) => TSelectionInfo;
/**
 * Remove a block from the ContentState
 */
declare const removeBlockFromMap: (editorState: EditorState, block: ContentBlock) => ContentState;
declare const atomicBlockExists: (name: string, controls?: TCustomControl[]) => TCustomControl;
declare const isGreaterThan: (value: number, maxValue?: number) => boolean;
declare const clearInlineStyles: (editorState: EditorState, customStyles?: DraftStyleMap) => ContentState;
declare const getEditorBounds: (editor: HTMLElement) => {
    selectionRect: TPosition;
    editorRect: DOMRect;
};
declare const getLineNumber: (editorState: EditorState) => any;
export { getSelectionInfo, removeBlockFromMap, atomicBlockExists, isGreaterThan, clearInlineStyles, getEditorBounds, getLineNumber };
//# sourceMappingURL=utils.d.ts.map