import type { CreatePackageRequestModel, UpdatePackageRequestModel } from '../../../../core/backend-api/index.js';
import type { UmbControllerHost } from '../../../../../libs/controller-api/index.js';
/**
 * Data source for packages from the server
 
 */
export declare class UmbPackageServerDataSource {
    private readonly _host;
    constructor(_host: UmbControllerHost);
    deleteCreatedPackage(unique: string): Promise<import("../../../../core/resources/index.js").UmbApiResponse<{
        data: unknown;
        request: Request;
        response: Response;
    }>>;
    getCreatedPackage(unique: string): Promise<import("../../../../core/resources/index.js").UmbApiResponse<{
        data: import("../../../../core/backend-api/index.js").PackageDefinitionResponseModel;
        request: Request;
        response: Response;
    }>>;
    getCreatedPackages({ skip, take }: {
        skip: number;
        take: number;
    }): Promise<import("../../../../core/resources/index.js").UmbApiResponse<{
        data: import("../../../../core/backend-api/index.js").PagedPackageDefinitionResponseModel;
        request: Request;
        response: Response;
    }>>;
    getCreatePackageDownload(unique: string): Promise<import("../../../../core/resources/index.js").UmbApiResponse<{
        data: File | Blob;
        request: Request;
        response: Response;
    }>>;
    /**
     * Get the root items from the server
     * @memberof UmbPackageServerDataSource
     */
    getRootItems(): Promise<import("../../../../core/resources/index.js").UmbApiResponse<{
        data: import("../../../../core/backend-api/index.js").ManifestResponseModel[];
        request: Request;
        response: Response;
    }>>;
    /**
     * Get the package configuration from the server
     * @memberof UmbPackageServerDataSource
     */
    getPackageConfiguration(): Promise<import("../../../../core/resources/index.js").UmbApiResponse<{
        data: import("../../../../core/backend-api/index.js").PackageConfigurationResponseModel;
        request: Request;
        response: Response;
    }>>;
    /**
     * Get the package migrations from the server
     * @memberof UmbPackageServerDataSource
     */
    getPackageMigrations(): Promise<import("../../../../core/resources/index.js").UmbApiResponse<{
        data: import("../../../../core/backend-api/index.js").PagedPackageMigrationStatusResponseModel;
        request: Request;
        response: Response;
    }>>;
    saveCreatedPackage(body: CreatePackageRequestModel): Promise<import("../../../../core/resources/index.js").UmbApiResponse<{
        data: unknown;
        request: Request;
        response: Response;
    }>>;
    updateCreatedPackage(id: string, body: UpdatePackageRequestModel): Promise<import("../../../../core/resources/index.js").UmbApiResponse<{
        data: unknown;
        request: Request;
        response: Response;
    }>>;
}
