import { UserService } from '../../../core/backend-api/index.js';
import { tryExecute } from '../../../core/resources/index.js';
export class UmbCurrentUserConfigServerDataSource {
    #host;
    constructor(host) {
        this.#host = host;
    }
    /**
     * Get the current user configuration.
     * @memberof UmbCurrentUserConfigServerDataSource
     */
    getCurrentUserConfig() {
        return tryExecute(this.#host, UserService.getUserCurrentConfiguration());
    }
}
