import React from 'react'; export type PublishPopoverStatus = 'checking' | 'idle' | 'publishing' | 'published' | 'error'; export interface PublishPopoverProps { open: boolean; /** * DOM id of the element to anchor under. A ref isn't available here — * the trigger is PDS's `SplitButton`, which never exposes one — so this * resolves via `document.getElementById` instead. */ anchorId: string; status: PublishPopoverStatus; errorMessage?: string; /** `null` when the page has never been published; `undefined` when unknown, which hides the status line. */ lastPublishedAt?: Date | null; /** When the page was last unpublished from live, while it is still down. */ unpublishedAt?: string; /** Live URL of this page; the link, copy button and "View site" are hidden when empty. */ siteUrl: string; changeCount: number; onPublish: () => void; onReview?: () => void; onClose: () => void; } export declare function PublishPopover({ open, anchorId, status, errorMessage, lastPublishedAt, unpublishedAt, siteUrl, changeCount, onPublish, onReview, onClose, }: PublishPopoverProps): React.ReactElement | null;