/** * (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. * * @format */ import React from 'react'; import { DiffKind } from '../../../internal/inpageeditor'; export type EditorProps = { handleCloseEditor: () => void; isSubmitting: boolean; onEditorSubmit: () => void; pageRawContent: string | null; diffKind: DiffKind; newFilePath: string; setPageRawContentVersion: (value: { pageRawContent: string; timestamp: string; diffKind: DiffKind; newFilePath: string; }) => void; }; export declare function SDocEditor({ onEditorSubmit, handleCloseEditor, pageRawContent, setPageRawContentVersion, isSubmitting, diffKind, newFilePath, }: EditorProps): React.JSX.Element | null;