export const normalizeStringValue = (value) => {
    return typeof value === 'string' ? value : (value?.toString() ?? '');
};
export const normalizeEnumValue = (value) => {
    if (typeof value === 'string') {
        return value;
    }
    if (Array.isArray(value) && value.every((item) => typeof item === 'string')) {
        return value;
    }
    return undefined;
};
export const normalizeDateValue = (value) => {
    if (typeof value === 'string' || value instanceof Date) {
        return value;
    }
    return undefined;
};
//# sourceMappingURL=utils.js.map