import type { Editor } from '../../tiptap/core/index';
type SelectionRange = {
    from: number;
    to: number;
    type?: 'node' | 'text' | 'all';
};
/**
 * Resolves incremental selection expansion in steps:
 * 1. Check if selection spans beyond current node or if current node is empty
 * 2. If current node is not fully selected, select it
 * 3. While node is fully selected, move up to the parent node
 * 4. Apply node-specific selection handling (if applicable)
 * 5. Select parent node content
 * 6. Fallback to document selection
 *
 * @param editor - TipTap editor instance
 * @returns Selection range or null if already at maximum selection
 */
export declare const resolveIncrementalSelection: (editor: Editor) => SelectionRange | null;
export {};
//# sourceMappingURL=resolve-incremental-selection.d.ts.map