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