import { baseUniDriverFactory } from '../../../../unidriver';
export function MediaGalleryViewUniDriver(base, _body) {
    return {
        ...baseUniDriverFactory(base),
        hasAvatarGroup: () => base
            .$('[data-hook="media-gallery-view"] [data-hook="avatar-item"]')
            .exists(),
        isEmpty: async () => {
            const count = await base
                .$('[data-hook="media-gallery-view"]')
                .$$('[data-hook="avatar-item"]')
                .count();
            return count === 0;
        },
    };
}
//# sourceMappingURL=View.uni.driver.js.map