import React from 'react'; import type { CollectionWithDefaults, MediaField } from '@staticcms/core'; export interface LinkProps { href: string | undefined | null; children: string; collection?: CollectionWithDefaults; field?: F; 'data-testid'?: string; } declare const Link: ({ href, children, collection, field, "data-testid": dataTestId, }: LinkProps) => React.JSX.Element; export declare const withMdxLink: ({ collection, field, }: Pick, "field" | "collection">) => React.FC, "field" | "collection">>; export default Link;