import { CheckboxUniDriver } from '@wix/design-system/dist/testkit/unidriver';
export function MultiInlineCheckboxUniDriver(base, body) {
    const getCheckboxById = (id) => CheckboxUniDriver(base.$(`[data-hook="multi-inline-checkbox-${id}"]`), body);
    const getCheckboxAt = (index) => CheckboxUniDriver(base.$$(':scope > *').get(index), body);
    const checkOptions = async (ids) => {
        await Promise.all(ids.map((id) => getCheckboxById(id).click()));
    };
    const getCheckboxesCount = () => base.$$(':scope > *').count();
    return {
        checkOptions,
        getCheckboxAt,
        getCheckboxById,
        getCheckboxesCount,
    };
}
//# sourceMappingURL=MultiInlineCheckbox.uni.driver.js.map