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 Partial View folders that fetches data from the server
 * @class UmbPartialViewFolderServerDataSource
 * @implements {RepositoryDetailDataSource}
 */
export declare class UmbPartialViewFolderServerDataSource implements UmbDetailDataSource<UmbFolderModel> {
    #private;
    /**
     * Creates an instance of UmbPartialViewFolderServerDataSource.
     * @param {UmbControllerHost} host - The controller host for this controller to be appended to
     * @memberof UmbPartialViewFolderServerDataSource
     */
    constructor(host: UmbControllerHost);
    /**
     * Creates a scaffold for a Partial View folder
     * @param {Partial<UmbFolderModel>} [preset]
     * @returns {*}
     * @memberof UmbPartialViewFolderServerDataSource
     */
    createScaffold(preset?: Partial<UmbFolderModel>): Promise<{
        data: UmbFolderModel;
    }>;
    /**
     * Fetches a Partial View folder from the server
     * @param {string} unique
     * @returns {UmbDataSourceResponse<UmbFolderModel>}
     * @memberof UmbPartialViewFolderServerDataSource
     */
    read(unique: string): Promise<{
        data: {
            entityType: string;
            unique: string;
            parentUnique: string | null;
            name: string;
        };
        error?: undefined;
    } | {
        error: import("../../../../../core/resources/index.js").UmbApiError | import("../../../../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    }>;
    /**
     * Creates a Partial View folder on the server
     * @param {UmbFolderModel} model
     * @returns {UmbDataSourceResponse<UmbFolderModel>}
     * @memberof UmbPartialViewFolderServerDataSource
     */
    create(model: UmbFolderModel, parentUnique: string | null): Promise<{
        data: {
            entityType: string;
            unique: string;
            parentUnique: string | null;
            name: string;
        };
        error?: undefined;
    } | {
        error: import("../../../../../core/resources/index.js").UmbApiError | import("../../../../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    }>;
    /**
     * Deletes a Partial View folder on the server
     * @param {string} unique
     * @returns {UmbDataSourceErrorResponse}
     * @memberof UmbPartialViewServerDataSource
     */
    delete(unique: string): Promise<import("../../../../../core/resources/index.js").UmbApiResponse<{
        data: unknown;
        request: Request;
        response: Response;
    }>>;
    update(): Promise<any>;
}
