import { tRichText } from '../../../logical/data-type.js';
import { columnManager } from '../manager.js';
export const titleColumnTypeName = 'title';
export const titlePureColumnConfig = columnManager.register(titleColumnTypeName, {
    name: 'Title',
    type: () => tRichText.create(),
    defaultData: () => ({}),
    cellToString: data => data?.toString() ?? '',
    cellFromString: data => {
        return {
            value: data,
        };
    },
    cellToJson: data => data?.toString() ?? null,
});
//# sourceMappingURL=define.js.map