import type { UmbPartialViewDetailModel } from '../types.js';
import type { UmbControllerHost } from '../../../../libs/controller-api/index.js';
import type { UmbDetailDataSource } from '../../../core/repository/index.js';
export declare class UmbPartialViewDetailServerDataSource implements UmbDetailDataSource<UmbPartialViewDetailModel> {
    #private;
    constructor(host: UmbControllerHost);
    createScaffold(preset?: Partial<UmbPartialViewDetailModel>): Promise<{
        data: UmbPartialViewDetailModel;
    }>;
    create(model: UmbPartialViewDetailModel, parentUnique?: string | null): Promise<{
        error: import("../../../core/resources/index.js").UmbApiError | import("../../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    } | {
        data: UmbPartialViewDetailModel;
        error?: undefined;
    }>;
    read(unique: string): Promise<{
        error: import("../../../core/resources/index.js").UmbApiError | import("../../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    } | {
        data: UmbPartialViewDetailModel;
        error?: undefined;
    }>;
    update(model: UmbPartialViewDetailModel): Promise<{
        error: import("../../../core/resources/index.js").UmbApiError | import("../../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    } | {
        data: UmbPartialViewDetailModel;
        error?: undefined;
    }>;
    delete(unique: string): Promise<import("../../../core/resources/index.js").UmbApiResponse<{
        data: unknown;
        request: Request;
        response: Response;
    }>>;
}
