import * as React from 'react'; import type { SlotComponentProps } from '@mui/utils/types'; import { type ChatMessageSourceClasses } from "./chatMessageSourceClasses.mjs"; export interface ChatMessageSourceSlots { /** The root list item element. @default 'li' */ root?: React.ElementType; /** The numeric index badge. @default 'span' */ index?: React.ElementType; /** The anchor link. @default 'a' */ link?: React.ElementType; } export interface ChatMessageSourceSlotProps { root?: SlotComponentProps<'li', {}, {}>; index?: SlotComponentProps<'span', {}, {}>; link?: SlotComponentProps<'a', {}, {}>; } export interface ChatMessageSourceProps { /** The URL this source links to. */ href: string; /** Display title for the source. Falls back to `href` when omitted. */ title?: string; /** 1-based position number displayed as a muted badge. */ index?: number; children?: React.ReactNode; className?: string; classes?: Partial; slots?: ChatMessageSourceSlots; slotProps?: ChatMessageSourceSlotProps; } type ChatMessageSourceComponent = ((props: ChatMessageSourceProps & React.RefAttributes) => React.JSX.Element | null) & { propTypes?: any; }; declare const ChatMessageSource: ChatMessageSourceComponent; export { ChatMessageSource };