import type { UmbSegmentCollectionFilterModel } from '../types.js';
import type { UmbSegmentCollectionItemModel } from './types.js';
import type { UmbCollectionDataSource } from '../../../core/collection/index.js';
import { UmbControllerBase } from '../../../../libs/class-api/index.js';
/**
 * A data source that fetches the language collection data from the server.
 * @class UmbLanguageCollectionServerDataSource
 * @implements {UmbCollectionDataSource}
 */
export declare class UmbSegmentCollectionServerDataSource extends UmbControllerBase implements UmbCollectionDataSource<UmbSegmentCollectionItemModel> {
    /**
     * Gets the language collection filtered by the given filter.
     * @param {UmbSegmentCollectionFilterModel} filter
     * @returns {*}
     * @memberof UmbLanguageCollectionServerDataSource
     */
    getCollection(filter: UmbSegmentCollectionFilterModel): Promise<{
        data: {
            items: UmbSegmentCollectionItemModel[];
            total: number;
        };
        error?: undefined;
    } | {
        error: import("../../../core/resources/index.js").UmbApiError | import("../../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    }>;
}
