import { baseUniDriverFactory } from '../../../../unidriver';
export function ReferenceViewUniDriver(base, _body) {
    return {
        ...baseUniDriverFactory(base),
        isEmpty: async () => !(await base.$('[data-hook="reference-view"]').exists()),
        getName: () => base.$('[data-hook="reference-view"]').text(),
        hasAvatar: () => base.$('[data-hook="reference-view"] [data-hook="avatar"]').exists(),
    };
}
//# sourceMappingURL=View.uni.driver.js.map