/// import { IBlock, IBlockAttributes } from '@10up/headless-core/react'; export interface LinkBlockProps extends IBlockAttributes { href: string; rel: string; } /** * The Link Block converts a anchor tag node into a next/link component if it's an internal link * * ## Usage * * ```tsx * import { BlocksRenderer } from "@10up/headless-core/react"; * import { LinkBlock } from "@10up/headless-next"; * * * * * ``` * * @param props Link Block Props * @param props.domNode The domNode element * @param props.children Children prop * * @returns The next/link component * * @category React Components */ export declare function LinkBlock({ domNode, children }: Omit, 'component'>): JSX.Element; /** * @internal */ export declare namespace LinkBlock { const defaultProps: { test: (node: any, site: any) => boolean; }; }