import type { UmbExecuteTemplateQueryRequestModel } from './types.js';
import type { UmbControllerHost } from '../../../../../libs/controller-api/index.js';
/**
 * A data source for the Template Query Builder that fetches data from the server
 * @class UmbTemplateQueryServerDataSource
 */
export declare class UmbTemplateQueryServerDataSource {
    #private;
    /**
     * Creates an instance of UmbTemplateQueryServerDataSource.
     * @param {UmbControllerHost} host - The controller host for this controller to be appended to
     * @memberof UmbTemplateQueryServerDataSource
     */
    constructor(host: UmbControllerHost);
    /**
     * Fetches the query builder settings from the server
     * @returns {*}
     * @memberof UmbTemplateQueryServerDataSource
     */
    getTemplateQuerySettings(): Promise<import("../../../../core/resources/index.js").UmbApiResponse<{
        data: import("../../../../core/backend-api/index.js").TemplateQuerySettingsResponseModel;
        request: Request;
        response: Response;
    }>>;
    /**
     * Executes a query builder query on the server
     * @param {UmbExecuteTemplateQueryRequestModel} args
     * @returns {*}
     * @memberof UmbTemplateQueryServerDataSource
     */
    executeTemplateQuery(args: UmbExecuteTemplateQueryRequestModel): Promise<import("../../../../core/resources/index.js").UmbApiResponse<{
        data: import("../../../../core/backend-api/index.js").TemplateQueryResultResponseModel;
        request: Request;
        response: Response;
    }>>;
}
