import { type LexicalEditor } from 'lexical';
/**
 * Registers Byline's custom link command + paste handling on `editor`.
 * Shared between the LinkPlugin React shell (used inside nested composers)
 * and the LinkExtension's `register` phase (used by the top-level editor).
 */
export declare function registerLink(editor: LexicalEditor): () => void;
/**
 * Legacy React shell — still used inside the inline-image nested composer
 * (`inline-image-node-component.tsx`) where the nested editor needs link
 * behaviour wired up. The top-level editor uses `LinkExtension` instead.
 */
export declare function LinkPlugin(): null;
export declare const LinkExtension: import("lexical").LexicalExtension<import("lexical").ExtensionConfigBase, "@byline/richtext-lexical/Link", unknown, unknown>;
