import type { UmbDataTypeSearchItemModel } from './data-type.search-provider.js';
import type { UmbSearchDataSource, UmbSearchRequestArgs } from '../../core/search/index.js';
import type { UmbControllerHost } from '../../../libs/controller-api/index.js';
/**
 * A data source for the Rollback that fetches data from the server
 * @class UmbDataTypeSearchServerDataSource
 * @implements {RepositoryDetailDataSource}
 */
export declare class UmbDataTypeSearchServerDataSource implements UmbSearchDataSource<UmbDataTypeSearchItemModel> {
    #private;
    /**
     * Creates an instance of UmbDataTypeSearchServerDataSource.
     * @param {UmbControllerHost} host - The controller host for this controller to be appended to
     * @memberof UmbDataTypeSearchServerDataSource
     */
    constructor(host: UmbControllerHost);
    /**
     * Get a list of versions for a data
     * @param args
     * @returns {*}
     * @memberof UmbDataTypeSearchServerDataSource
     */
    search(args: UmbSearchRequestArgs): Promise<{
        data: {
            items: UmbDataTypeSearchItemModel[];
            total: number;
        };
        error?: undefined;
    } | {
        error: import("../../core/resources/index.js").UmbApiError | import("../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    }>;
}
