"use strict";

exports.__esModule = true;
exports.RadioGroupFilterUniDriver = RadioGroupFilterUniDriver;
var _unidriver = require("../../unidriver");
var _unidriver2 = require("@wix/design-system/dist/testkit/unidriver");
function RadioGroupFilterUniDriver(base, body) {
  const getRadioGroup = () => (0, _unidriver2.RadioGroupUniDriver)(base.$(`[data-hook="radio-group-filter-group"]`), body);
  const getRadioItem = value => (0, _unidriver2.RadioUniDriver)(base.$(`[data-hook="radio-group-filter-option-${value}"]`), body);
  const getSelectedItem = async () => {
    return getRadioGroup().getSelectedValue();
  };
  return {
    ...(0, _unidriver.baseUniDriverFactory)(base),
    getRadioGroup,
    getRadioItem,
    getSelectedItem
  };
}
//# sourceMappingURL=RadioGroupFilter.uni.driver.js.map