import { CodeHeaderProps, SyntaxHighlighterProps } from "../overrides/types.js"; import { ComponentPropsWithoutRef, ComponentType, ElementType, ForwardRefExoticComponent, RefAttributes } from "react"; import { Options } from "react-markdown"; import { Primitive } from "@radix-ui/react-primitive"; //#region src/primitives/MarkdownText.d.ts type PrimitiveDivProps = ComponentPropsWithoutRef; type MarkdownTextPrimitiveProps = Omit & { className?: string | undefined; containerProps?: Omit | undefined; containerComponent?: ElementType | undefined; components?: (NonNullable & { SyntaxHighlighter?: ComponentType | undefined; CodeHeader?: ComponentType | undefined; }) | undefined; /** * Language-specific component overrides. * @example { mermaid: { SyntaxHighlighter: MermaidDiagram } } */ componentsByLanguage?: Record | undefined; SyntaxHighlighter?: ComponentType | undefined; }> | undefined; smooth?: boolean | undefined; /** * Function to transform text before markdown processing. */ preprocess?: (text: string) => string; }; declare const MarkdownTextPrimitive: ForwardRefExoticComponent & RefAttributes; //#endregion export { MarkdownTextPrimitive, MarkdownTextPrimitiveProps }; //# sourceMappingURL=MarkdownText.d.ts.map