import type { ConvertType, DocumentState, InsertType, JSONSelection, ContextMenuItem } from '../../../../types'; export default function ({ json, documentState, selection, readOnly, onEditKey, onEditValue, onToggleEnforceString, onCut, onCopy, onPaste, onRemove, onDuplicate, onExtract, onInsertBefore, onInsert, onConvert, onInsertAfter, onSort, onTransform }: { json: unknown; documentState: DocumentState | undefined; selection: JSONSelection | undefined; readOnly: boolean; onEditKey: () => void; onEditValue: () => void; onToggleEnforceString: () => void; onCut: (indent: boolean) => void; onCopy: (indent: boolean) => void; onPaste: () => void; onRemove: () => void; onDuplicate: () => void; onExtract: () => void; onInsertBefore: () => void; onInsert: (type: InsertType) => void; onConvert: (type: ConvertType) => void; onInsertAfter: () => void; onSort: () => void; onTransform: () => void; }): ContextMenuItem[];