import type { ResolvedPos } from '@atlaskit/editor-prosemirror/model'; import type { NodeSelection, Selection, TextSelection } from '@atlaskit/editor-prosemirror/state'; interface CellSelectionShape extends Selection { $anchorCell: ResolvedPos; $headCell: ResolvedPos; visible: boolean; } export declare function isSelectionType(selection: Selection, type: 'cell'): selection is CellSelectionShape; export declare function isSelectionType(selection: Selection, type: 'node'): selection is NodeSelection; export declare function isSelectionType(selection: Selection, type: 'text'): selection is TextSelection; export {};