import { Element } from "./node_modules/.pnpm/@types_hast@3.0.4/node_modules/@types/hast/index.js"; import { CodeHeaderProps, SyntaxHighlighterProps } from "./overrides/types.js"; import { ComponentProps, ComponentType, ElementType } from "react"; //#region src/memoization.d.ts type Components = { [Key in Extract]?: ComponentType> } & { SyntaxHighlighter?: ComponentType> | undefined; CodeHeader?: ComponentType> | undefined; }; declare const areNodesEqual: (prev: Element | undefined, next: Element | undefined) => boolean; declare const memoCompareNodes: (prev: { node?: Element | undefined; }, next: { node?: Element | undefined; }) => boolean; declare const memoizeMarkdownComponents: (components?: Components) => { [k: string]: import("react").MemoExoticComponent<({ node, ...props }: { node?: Element; }) => import("react/jsx-runtime").JSX.Element> | undefined; }; //#endregion export { areNodesEqual, memoCompareNodes, memoizeMarkdownComponents }; //# sourceMappingURL=memoization.d.ts.map