import type { UmbControllerHost } from '../../../../../libs/controller-api/index.js';
export declare class UmbRenameStylesheetServerDataSource {
    #private;
    constructor(host: UmbControllerHost);
    /**
     * Rename Stylesheet
     * @param {string} unique
     * @param {string} name
     * @returns {*}
     * @memberof UmbRenameStylesheetServerDataSource
     */
    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").UmbStylesheetDetailModel;
        error?: undefined;
    }>;
}
