import { baseUniDriverFactory } from '../../../../unidriver';
export function MultiReferenceViewUniDriver(base, _body) {
    const tags = () => base.$$('[data-hook="cell-multi-reference-tag"]');
    const overflow = () => base.$('[data-hook="tag-list-overflow-chip"]');
    return {
        ...baseUniDriverFactory(base),
        hasTags: async () => (await tags().count()) > 0,
        getTagsCount: () => tags().count(),
        isEmpty: async () => !(await base.$('[data-hook="cell-multi-reference-tags"]').exists()),
        hasOverflowChip: () => overflow().exists(),
        getOverflowChipText: async () => (await overflow().text()) ?? '',
    };
}
//# sourceMappingURL=View.uni.driver.js.map