import React from 'react'; import type { DocumentVersion } from '@pantheon-systems/css-client'; import type { HistoryEntry } from '../../versioning/utils/versionKind.js'; import type { VersionAuthorNameOptions } from '../../versioning/utils/versionAuthorName.js'; export interface VersionTimelineProps extends VersionAuthorNameOptions { dayGroups: { label: string; versions: HistoryEntry[]; }[]; /** Full version list — used to look up revert-source version numbers. */ allVersions: DocumentVersion[]; selectedVersionId?: string; currentVersionId?: string; isPreviewing: boolean; unpublishedCount: number; onVersionSelect?: (version: DocumentVersion) => void; /** The redirect set by the unpublish that is still in effect, named on that row. */ unpublishRedirect?: { eventId: string; to: string; }; } export declare function VersionTimeline({ dayGroups, allVersions, selectedVersionId, currentVersionId, isPreviewing, unpublishedCount, onVersionSelect, unpublishRedirect, ...authorNameOptions }: VersionTimelineProps): React.ReactElement;