import { FunctionComponent, ReactNode } from "react";
import { Options } from "react-markdown";
type CodeComponentContextType = {
    enableCopy?: boolean;
    maxHeight?: string;
};
export declare const CodeComponentContextProvider: import("react").Provider<CodeComponentContextType>;
export declare const generateAnchorLink: (linkTitle: ReactNode) => any;
export type TypeMarkdownPreviewProps = {
    anchorLink?: boolean;
    includeHierarchyInAnchorLink?: boolean;
};
export declare const markdownAnchorLinkHOC: <T = Record<string, unknown>>(HeaderComponent: FunctionComponent<T>) => (props: T) => import("react/jsx-runtime").JSX.Element;
export declare const MarkdownPreview: FunctionComponent<{
    children: string;
    components?: Options["components"];
} & TypeMarkdownPreviewProps>;
export {};
