import './Timeline.css'; import React from 'react'; import type { ICaseHistoryItem } from '../../../../models/caseHistory'; import { type IHistoryChangeItem } from '../../../../utils/TimelineUtils'; export interface ITimelineEvent { date: string; text: string; user?: string; useAvatar?: boolean; } export interface ITimelineNodeData { left: ITimelineEvent; right: ITimelineEvent; photoUrl?: string | null; userName?: string; } /** * Builds the display text for a "Change" history item by resolving values and * delegating to field-specific formatters. */ export declare const applyReplacements: (item: IHistoryChangeItem | null | undefined) => string; /** * Converts normalized history items into timeline node data for rendering. * * Applies a secondary filter (excludes `FolderId__c` and `OwnerId` whose resolved * display names are unavailable), then maps each item to a left (date/time) and * right (user action text) event pair. Avatar/date-header boundaries are computed * sequentially: a new boundary is set on the first item, user change, or date change. */ export declare const transformApiResponseToTimelineData: (apiResponse: { historyItems: ICaseHistoryItem[]; }) => ITimelineNodeData[]; interface ITimelineProps { caseNumber: string; sfdcCaseId: string | undefined; isViewerInternal: boolean; } declare const Timeline: ({ caseNumber, sfdcCaseId, isViewerInternal }: ITimelineProps) => React.JSX.Element; export default Timeline; //# sourceMappingURL=Timeline.d.ts.map