import type { UmbDocumentTypeCompositionCompatibleModel, UmbDocumentTypeCompositionReferenceModel, UmbDocumentTypeAvailableCompositionRequestModel } from '../../types.js';
import type { UmbControllerHost } from '../../../../../libs/controller-api/index.js';
import type { UmbContentTypeCompositionDataSource } from '../../../../content/content-type/index.js';
/**
 * A data source for the Document Type Composition that fetches data from the server
 * @class UmbDocumentTypeCompositionServerDataSource
 */
export declare class UmbDocumentTypeCompositionServerDataSource implements UmbContentTypeCompositionDataSource<UmbDocumentTypeCompositionReferenceModel, UmbDocumentTypeCompositionCompatibleModel, UmbDocumentTypeAvailableCompositionRequestModel> {
    #private;
    /**
     * Creates an instance of UmbDocumentTypeCompositionServerDataSource.
     * @param {UmbControllerHost} host - The controller host for this controller to be appended to
     * @memberof UmbDocumentTypeCompositionServerDataSource
     */
    constructor(host: UmbControllerHost);
    /**
     * Fetches the compatible compositions for a document type from the server
     * @param {string} unique
     * @returns {*}
     * @memberof UmbDocumentTypeCompositionServerDataSource
     */
    getReferences(unique: string): Promise<{
        data: UmbDocumentTypeCompositionReferenceModel[];
        error: import("../../../../core/resources/index.js").UmbApiError | import("../../../../core/resources/index.js").UmbCancelError | undefined;
    }>;
    /**
     * Updates the compositions for a document type on the server
     * @param {DocumentTypeCompositionRequestModel} body
     * @param args
     * @returns {*}
     * @memberof UmbDocumentTypeCompositionServerDataSource
     */
    availableCompositions(args: UmbDocumentTypeAvailableCompositionRequestModel): Promise<{
        data: UmbDocumentTypeCompositionCompatibleModel[];
        error: import("../../../../core/resources/index.js").UmbApiError | import("../../../../core/resources/index.js").UmbCancelError | undefined;
    }>;
}
