import type { Editor, Range } from '@tiptap/core'; import type { TextEditorState } from '../types'; export interface RequestLinkPanelOptions { range?: Range; linkRange?: Range | null; } export declare function findLinkRange(editor: Editor, position?: number): Range | null; export declare function requestLinkPanel(editor: Editor, state: TextEditorState, options?: RequestLinkPanelOptions): void;