import type { SpreadsheetCommand } from '../types'; export function createSetCellValueCommand( undo: () => void | Promise, redo: () => void | Promise, ): SpreadsheetCommand { return { label: 'setCellValue', undo, redo, }; }