import type { RichTextLinkHrefResolver } from "./common.js"; export declare function mergeLinkTypes>(linkTypes: { [TLinkType in keyof TLinkTypes]: RichTextLinkHrefResolver; } | undefined): Record; /** * Reads the active attached block of a link block created with `createLinkBlock`. * * Only that shape is supported. When a rich text block is configured with a link block that * keeps its target in its own fields, there is no attached block to read, and the text it * spans is rendered without a link. */ export declare function getLinkBlock(linkData: unknown): { type: string; props: unknown; } | undefined;