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