import type { UmbMediaDetailModel } from '../../types.js';
import type { UmbControllerHost } from '../../../../../libs/controller-api/index.js';
import { UmbDetailRepositoryBase } from '../../../../core/repository/index.js';
export declare class UmbMediaDetailRepository extends UmbDetailRepositoryBase<UmbMediaDetailModel> {
    #private;
    constructor(host: UmbControllerHost);
    /**
     * Creates a media item without showing automatic error notifications.
     * Error handling is left to the caller (e.g. the dropzone manager).
     */
    createSilently(model: UmbMediaDetailModel, parentUnique: string | null): Promise<{
        error: import("../../../../core/resources/index.js").UmbApiError | import("../../../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    } | {
        data: UmbMediaDetailModel;
        error?: undefined;
    }>;
    /**
     * @inheritdoc
     */
    save(model: UmbMediaDetailModel): Promise<{
        data: UmbMediaDetailModel | undefined;
        error: Error | import("../../../../core/resources/index.js").UmbApiError | import("../../../../core/resources/index.js").UmbCancelError | import("../../../../core/resources/index.js").UmbError | undefined;
    }>;
    /**
     * @inheritdoc
     */
    delete(unique: string): Promise<{
        error: Error | import("../../../../core/resources/index.js").UmbApiError | import("../../../../core/resources/index.js").UmbCancelError | import("../../../../core/resources/index.js").UmbError | undefined;
    }>;
}
export { UmbMediaDetailRepository as api };
export default UmbMediaDetailRepository;
