import { UmbSegmentCollectionServerDataSource } from './segment-collection.server.data-source.js';
import { UmbRepositoryBase } from '../../../core/repository/index.js';
export class UmbSegmentCollectionRepository extends UmbRepositoryBase {
    #collectionSource;
    constructor(host) {
        super(host);
        this.#collectionSource = new UmbSegmentCollectionServerDataSource(host);
    }
    async requestCollection(filter) {
        return this.#collectionSource.getCollection(filter);
    }
}
export default UmbSegmentCollectionRepository;
