import * as React from 'react';
import { SlotValue } from '../views/core/usePropsSlots';
import { SlotPropsType } from '../views/core/SlotPropsType';
type ExtractMarkdownKeys<T> = {
    [K in keyof T as K extends `markdown${string}` ? K : never]: T[K];
};
type MarkdownSlotsPropsType = ExtractMarkdownKeys<SlotPropsType<any, any>>;
type SlotsType = {
    [key in keyof MarkdownSlotsPropsType]: SlotValue<MarkdownSlotsPropsType[key]>;
};
type Props = React.PropsWithChildren<{
    text: string;
    inProgress: boolean;
    loading?: boolean;
    slots?: Partial<SlotsType>;
    slotProps?: Partial<MarkdownSlotsPropsType>;
    className?: string;
}>;
declare const ChatMarkdown: React.FC<Props>;
export default ChatMarkdown;
