import type { DataTestId, MaskingProps, StylingProps } from '@dynatrace/strato-components/core'; import { type Components } from '../../core/types/markdown/react-markdown.js'; /** * @public */ export interface MarkdownSelection { start: MarkdownSelectionPoint; end: MarkdownSelectionPoint; } /** * @public */ export interface MarkdownSelectionPoint { line: number; column: number; offset: number; } /** * @public */ export declare const componentMappings: Components; /** * @public */ export interface MarkdownProps extends MaskingProps, DataTestId, StylingProps { /** The markdown content itself. */ children: string; /** * A map of HTML tags (e.g., 'a', 'h1') to functions that provide custom implementations, * allowing for the override of default rendering. * @defaultValue undefined */ customComponentMappings?: Components; onSelectionChange?: (selection: MarkdownSelection) => void; } /** * The `Markdown` component is a read-only way to display content formatted in * markdown-style. * @public */ export declare const Markdown: (props: MarkdownProps & import("react").RefAttributes) => React.ReactElement | null;