import { PopupModal } from '../../schema/index.ts'; import { EmbedSnippet } from './PublishPopover'; export declare function EditingView({ popup, onChange, onPublish, embedSnippet, showJson, showEndpoint, onUndo, onRedo, canUndo, canRedo, }: { popup: PopupModal; /** Emits the fields that changed; the host merges them into the form. */ onChange: (patch: Partial) => void; onPublish?: (popup: PopupModal) => void; /** The host's embed markup for the post-publish popover. See EmbedSnippet. */ embedSnippet?: EmbedSnippet; /** Show the developer-facing "View JSON" button. */ showJson?: boolean; /** Show the Submission endpoint URL + method fields. */ showEndpoint?: boolean; /** Step the form back and forward through the edit history. */ onUndo?: () => void; onRedo?: () => void; canUndo?: boolean; canRedo?: boolean; }): import("react").JSX.Element;