import type { Editor, Extensions } from '@tiptap/core'; import type { WorkOfficeCollaborationSession } from '../../../collaboration/office-collaboration'; import type { WorkEditorAgentRequest } from '../work-agent-request'; import type { WorkDocumentLayoutFont } from '../work-document-fonts'; import type { WorkDocumentReviewConflictEvent } from '../work-document-review-conflicts'; import { type WorkGetDocumentSelectionMenuItems } from '../work-document-selection-menu'; import type { WorkDocumentContent } from '../work-types'; import { type WorkOfficeFileAction } from './work-office-chrome'; export interface DocumentEditorProps { artifactId?: string; autoFocus?: boolean; collaboration?: WorkOfficeCollaborationSession; content: WorkDocumentContent; extensions?: Extensions; preview: boolean; defaultRibbonCollapsed?: boolean; saveStatus?: string; kernelWasmUrl?: string; layoutFonts?: readonly WorkDocumentLayoutFont[]; fileActions?: readonly WorkOfficeFileAction[]; getSelectionMenuItems?: WorkGetDocumentSelectionMenuItems; defaultCommentsOpen?: boolean; onChange: (content: WorkDocumentContent) => void; onEditorReady?: (editor: Editor) => void; onAgentRequest?: (request: WorkEditorAgentRequest) => void | Promise; onReviewConflict?: (event: WorkDocumentReviewConflictEvent) => void; } export declare function DocumentEditor(props: DocumentEditorProps): import("react").JSX.Element;