import type { UmbControllerHost } from '../../../../../libs/controller-api/index.js';
export declare class UmbRenameScriptServerDataSource {
    #private;
    constructor(host: UmbControllerHost);
    /**
     * Rename Script
     * @param {string} unique
     * @param {string} name
     * @returns {*}
     * @memberof UmbRenameScriptServerDataSource
     */
    rename(unique: string, name: string): Promise<{
        error: import("../../../../core/resources/index.js").UmbApiError | import("../../../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    } | {
        data: import("../../types.js").UmbScriptDetailModel;
        error?: undefined;
    }>;
}
