import type { FunctionComponent, ComponentPropsWithRef, ForwardRefExoticComponent, AnchorHTMLAttributes, ReactNode, RefAttributes } from "react"; import { LinkProps } from 'next/link.js'; import { CmsContentLinkDataType } from './types.js'; type LinkType = ForwardRefExoticComponent, keyof LinkProps> & LinkProps & { children?: ReactNode; } & RefAttributes>; type LinkTypeProps = ComponentPropsWithRef; export type CmsContentLinkProps = { /** * The Link target as retrieved from Optimizely Graph */ href?: CmsContentLinkDataType | null; /** * If set to a valid base URL, it will make all links targetting * this base a same site link instead of an absolute link */ base?: string; } & Omit; /** * Create a Next.js Link based upon data retrieved from Optimizely Graph, using the default * IContentData, IContentInfo or LinkData fragments. * * @param param0 The component properties * @returns The fully configured Next.js Link property */ export declare const CmsContentLink: FunctionComponent; export {};