import { Plugin } from 'prosemirror-state'; export interface LinkPluginOptions { /** Called with the href when a link is Mod/Ctrl-clicked. */ onOpenLink?: (href: string) => void; } /** * Link behaviors that belong to the document, not the chrome: * - Mod/Ctrl-click opens the link. * - Pasting a bare URL over a text selection turns the selection into a link. */ export declare function linkPlugin(options?: LinkPluginOptions): Plugin;