import { DOMProps, QAProps } from '@gravity-ui/uikit'; import { DateLocaleConfig } from "../../../hooks/index.js"; import "./ChatDate.css"; export type ChatDateProps = QAProps & DOMProps & { /** Date value in string, Date, or number (timestamp) format */ date: string | Date | number; /** Show time along with date */ showTime?: boolean; /** Custom format string (dayjs format) */ format?: string; /** Locale for date formatting */ locale?: string; /** Dayjs locale configuration for the provided locale */ localeConfig?: DateLocaleConfig; /** Display relative dates (today, yesterday, two days ago, etc.) */ relative?: boolean; }; /** * ChatDate component displays formatted dates with optional time * * @param props - Component props * @returns React component */ export declare function ChatDate(props: ChatDateProps): string | import("react/jsx-runtime").JSX.Element;