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