import type { UmbRenameServerFileDataSourceConstructor } from './types.js';
import type { UmbContextToken } from '../../../../libs/context-api/index.js';
import type { UmbControllerHost } from '../../../../libs/controller-api/index.js';
import type { UmbDetailStore } from '../../store/index.js';
import { UmbRepositoryBase } from '../../repository/index.js';
import type { UmbEntityModel } from '../../entity/index.js';
export declare abstract class UmbRenameServerFileRepositoryBase<DetailModelType extends UmbEntityModel> extends UmbRepositoryBase {
    #private;
    constructor(host: UmbControllerHost, detailSource: UmbRenameServerFileDataSourceConstructor<DetailModelType>, detailStoreContextAlias: string | UmbContextToken<UmbDetailStore<DetailModelType>>);
    /**
     * Rename
     * @param {string} unique
     * @param {string} name
     * @returns {*}
     * @memberof UmbRenameServerFileRepositoryBase
     */
    rename(unique: string, name: string): Promise<{
        data: DetailModelType | undefined;
        error: Error | import("../../resources/umb-error.js").UmbApiError | import("../../resources/umb-error.js").UmbCancelError | import("../../resources/umb-error.js").UmbError | undefined;
    }>;
}
