import type { ContextMenuItem, DocumentState, JSONSelection } from '../../../..'; export default function ({ json, documentState, selection, readOnly, onEditValue, onEditRow, onToggleEnforceString, onCut, onCopy, onPaste, onRemove, onDuplicateRow, onInsertBeforeRow, onInsertAfterRow, onRemoveRow }: { json: unknown | undefined; documentState: DocumentState | undefined; selection: JSONSelection | undefined; readOnly: boolean; onEditValue: () => void; onEditRow: () => void; onToggleEnforceString: () => void; onCut: (indent: boolean) => void; onCopy: (indent: boolean) => void; onPaste: () => void; onRemove: () => void; onDuplicateRow: () => void; onInsertBeforeRow: () => void; onInsertAfterRow: () => void; onRemoveRow: () => void; }): ContextMenuItem[];