import React from 'react'; import type { DocumentVersion } from '@pantheon-systems/css-client'; import type { VersionAuthorNameOptions } from '../../versioning/utils/versionAuthorName.js'; import { type PageNotFoundProps } from '../../pds/components/PageNotFound.js'; export interface VersionBannerOverrideProps extends VersionAuthorNameOptions { children: React.ReactNode; versions: DocumentVersion[]; selectedVersionId?: string; onVersionSelect?: (version: DocumentVersion) => void; onRestoreVersion?: (version: DocumentVersion) => Promise; canRevert?: boolean; /** The currently filtered version list (from the panel filter). Steppers navigate within this list. */ filteredVersions?: DocumentVersion[]; /** * Set when the open path has no page. Takes over the canvas — the chrome * around it stays, so the user can pick another page or create this one. */ pageNotFound?: PageNotFoundProps | null; } export declare function VersionBannerOverride({ children, versions, selectedVersionId, onVersionSelect, onRestoreVersion, canRevert, filteredVersions, pageNotFound, }: VersionBannerOverrideProps): React.ReactElement;