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 Member Type folder that fetches data from the server
 * @class UmbMemberTypeFolderServerDataSource
 * @implements {RepositoryDetailDataSource}
 */
export declare class UmbMemberTypeFolderServerDataSource implements UmbDetailDataSource<UmbFolderModel> {
    #private;
    /**
     * Creates an instance of UmbMemberTypeFolderServerDataSource.
     * @param {UmbControllerHost} host - The controller host for this controller to be appended to
     * @memberof UmbMemberTypeFolderServerDataSource
     */
    constructor(host: UmbControllerHost);
    /**
     * Creates a scaffold for a Member Type folder
     * @param {Partial<UmbFolderModel>} [preset]
     * @returns {*}
     * @memberof UmbMemberTypeFolderServerDataSource
     */
    createScaffold(preset?: Partial<UmbFolderModel>): Promise<{
        data: UmbFolderModel;
    }>;
    /**
     * Fetches a Member Type folder from the server
     * @param {string} unique
     * @returns {*}
     * @memberof UmbMemberTypeFolderServerDataSource
     */
    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 Member Type folder on the server
     * @param {UmbFolderModel} model
     * @returns {*}
     * @memberof UmbMemberTypeFolderServerDataSource
     */
    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 Member Type folder on the server
     * @param {UmbUpdateFolderModel} model
     * @returns {*}
     * @memberof UmbMemberTypeFolderServerDataSource
     */
    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 Member Type folder on the server
     * @param {string} unique
     * @returns {*}
     * @memberof UmbMemberTypeServerDataSource
     */
    delete(unique: string): Promise<import("../../../../../core/resources/index.js").UmbApiResponse<{
        data: unknown;
        request: Request;
        response: Response;
    }>>;
}
