import type { UmbTemplateSearchItemModel } from './template.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 UmbTemplateSearchServerDataSource
 * @implements {RepositoryDetailDataSource}
 */
export declare class UmbTemplateSearchServerDataSource implements UmbSearchDataSource<UmbTemplateSearchItemModel> {
    #private;
    /**
     * Creates an instance of UmbTemplateSearchServerDataSource.
     * @param {UmbControllerHost} host - The controller host for this controller to be appended to
     * @memberof UmbTemplateSearchServerDataSource
     */
    constructor(host: UmbControllerHost);
    /**
     * Get a list of versions for a data
     * @param args
     * @returns {*}
     * @memberof UmbTemplateSearchServerDataSource
     */
    search(args: UmbSearchRequestArgs): Promise<{
        data: {
            items: UmbTemplateSearchItemModel[];
            total: number;
        };
        error?: undefined;
    } | {
        error: import("../../../core/resources/index.js").UmbApiError | import("../../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    }>;
}
