import { ReactNode } from 'react'; import { DocsSite, DocsPage, DocsRevision } from './types'; interface DocsEditPanelProps { site: DocsSite; pages: DocsPage[]; onBack: () => void; onSavePage: (id: string, data: { title?: string; content?: string; slug?: string; }) => Promise; onAddPage: (parentId?: string, category?: string) => void; pageAdding?: boolean; /** Omitted when the caller lacks docs_page:delete — hides the page delete control. */ onDeletePage?: (pageId: string) => void; onCompile: () => void; onSaveSettings: (data: { name?: string; visibility?: 'PRIVATE' | 'PUBLIC'; provider?: 'DOCUSAURUS' | 'MKDOCS' | 'VITEPRESS'; providerConfig?: Record; }) => Promise; onRollback: (revisionId: string) => Promise; /** Omitted when the caller lacks docs_site:delete — hides the Delete-site control. */ onDeleteSite?: () => Promise; rollingBack: string | null; compileRevision: DocsRevision | null; onPollRevision?: (id: string) => Promise; compiling: boolean; /** Generic grant-based Share affordance (owner-keyed; supplied by the host). */ shareSlot?: ReactNode; } export declare function DocsEditPanel({ site, pages, onBack, onSavePage, onAddPage, pageAdding, onDeletePage, onCompile, onSaveSettings, onRollback, onDeleteSite, rollingBack, compileRevision, onPollRevision, compiling, shareSlot, }: DocsEditPanelProps): import('react').JSX.Element; export {};