import type { Node } from 'unist';
export type ImageToLinkPluginOptions = {
    getTextLabelFrom?: 'alt' | 'title' | 'url';
};
/**
 * Converts image Markdown links (![Minion](https://octodex.github.com/images/minion.png))
 * to HTML <a href={url}>{url | title | alt}</a>
 *
 * By default, the anchor text content is the image url so that image preview can be generated / enriched on the server.
 * @param getTextLabelFrom
 */
export declare function imageToLink({ getTextLabelFrom }?: ImageToLinkPluginOptions): (tree: Node) => void;
