export const normalizeStringArray = (value) => {
    if (value == null)
        return null;
    if (Array.isArray(value))
        return value;
    const trimmed = value.trim();
    if (!trimmed)
        return [];
    try {
        const parsed = JSON.parse(trimmed);
        if (Array.isArray(parsed)) {
            return parsed.filter((item) => typeof item === 'string');
        }
    }
    catch {
    }
    return [trimmed];
};
//# sourceMappingURL=normalizers.js.map