import type { UmbFolderModel } from '../../../../../core/tree/index.js';
import type { UmbControllerHost } from '../../../../../../libs/controller-api/index.js';
import type { UmbDetailDataSource } from '../../../../../core/repository/index.js';
/**
 * A data source for a Document Type folder that fetches data from the server
 * @class UmbDocumentTypeFolderServerDataSource
 * @implements {RepositoryDetailDataSource}
 */
export declare class UmbDocumentTypeFolderServerDataSource implements UmbDetailDataSource<UmbFolderModel> {
    #private;
    /**
     * Creates an instance of UmbDocumentTypeFolderServerDataSource.
     * @param {UmbControllerHost} host - The controller host for this controller to be appended to
     * @memberof UmbDocumentTypeFolderServerDataSource
     */
    constructor(host: UmbControllerHost);
    /**
     * Creates a scaffold for a Document Type folder
     * @param {Partial<UmbFolderModel>} [preset]
     * @returns {*}
     * @memberof UmbDocumentTypeFolderServerDataSource
     */
    createScaffold(preset?: Partial<UmbFolderModel>): Promise<{
        data: UmbFolderModel;
    }>;
    /**
     * Fetches a Document Type folder from the server
     * @param {string} unique
     * @returns {*}
     * @memberof UmbDocumentTypeFolderServerDataSource
     */
    read(unique: string): Promise<{
        data: {
            entityType: string;
            unique: string;
            name: string;
        };
        error?: undefined;
    } | {
        error: import("../../../../../core/resources/index.js").UmbApiError | import("../../../../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    }>;
    /**
     * Creates a Document Type folder on the server
     * @param {UmbCreateFolderModel} model
     * @returns {*}
     * @memberof UmbDocumentTypeFolderServerDataSource
     */
    create(model: UmbFolderModel, parentUnique: string | null): Promise<{
        data: {
            entityType: string;
            unique: string;
            name: string;
        };
        error?: undefined;
    } | {
        error: import("../../../../../core/resources/index.js").UmbApiError | import("../../../../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    }>;
    /**
     * Updates a Document Type folder on the server
     * @param {UmbFolderModel} model
     * @returns {*}
     * @memberof UmbDocumentTypeFolderServerDataSource
     */
    update(model: UmbFolderModel): Promise<{
        data: {
            entityType: string;
            unique: string;
            name: string;
        };
        error?: undefined;
    } | {
        error: import("../../../../../core/resources/index.js").UmbApiError | import("../../../../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    }>;
    /**
     * Deletes a Document Type folder on the server
     * @param {string} unique
     * @returns {*}
     * @memberof UmbDocumentTypeServerDataSource
     */
    delete(unique: string): Promise<import("../../../../../core/resources/index.js").UmbApiResponse<{
        data: unknown;
        request: Request;
        response: Response;
    }>>;
}
