gatsby-mdx-remote
Version:
A plugin to transform nodes with mdx content and frontmatter into mdx File nodes for consumption by the gatsby-plugin-mdx plugin
8 lines • 385 B
TypeScript
import { Node as UnistNode } from "unist";
export interface ReplaceImageDataOptions {
pushImageUrlToList: (value: string) => void;
getUrlListLength: () => number;
className?: string;
}
export declare const extractUrlAndReplaceWithGatsbyImage: (options: ReplaceImageDataOptions) => (tree: UnistNode) => void;
//# sourceMappingURL=extractUrlAndReplaceWithGatsbyImage.d.ts.map