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