import { defineCellType } from '../../types';
import { AudioView } from './View';
import { AudioEdit } from './Edit';
export { AudioView, AudioEdit };
export const audioCellType = defineCellType({
    type: 'audio',
    ViewComponent: AudioView,
    EditComponent: AudioEdit,
    serialize: (value) => value ?? '',
    clearable: true,
    showEditWhenFocused: true,
    // Returning undefined blocks all key presses from starting type-to-edit, but
    // the presence of the function sets the :typeToEdit CSS modifier which keeps
    // the selection borders visible while the cell is in edit mode (double border).
    onTypeToEdit: () => undefined,
});
//# sourceMappingURL=index.js.map