import { BoxSdkError } from '../../box/errors.js';
import { sdIsString } from '../../serialization/json.js';
export function serializeBoxVersionHeaderV2026R0(val) {
    return val;
}
export function deserializeBoxVersionHeaderV2026R0(val) {
    if (val == '2026.0') {
        return val;
    }
    if (sdIsString(val)) {
        return val;
    }
    throw new BoxSdkError({
        message: "Can't deserialize BoxVersionHeaderV2026R0",
    });
}
//# sourceMappingURL=boxVersionHeaderV2026R0.js.map