import { baseUniDriverFactory } from '../../../../unidriver';
export function DocumentViewUniDriver(base, _body) {
    return {
        ...baseUniDriverFactory(base),
        hasTag: () => base.$('[data-hook="cell-document-tag"]').exists(),
        getTagText: async () => (await base.$('[data-hook="cell-document-tag"]').text()) ?? '',
        isEmpty: async () => !(await base.$('[data-hook="cell-document-tag"]').exists()),
    };
}
//# sourceMappingURL=View.uni.driver.js.map