import { ITenantSetting } from '@metad/contracts'; import { FindManyOptions, Repository } from 'typeorm'; import { TenantAwareCrudService } from './../../core/crud'; import { TenantSetting } from './tenant-setting.entity'; export declare class TenantSettingService extends TenantAwareCrudService { private tenantSettingRepository; constructor(tenantSettingRepository: Repository); /** * Retrieves tenant settings from the database based on the ORM type being used. * * @param {FindManyOptions} [request] - Optional query options for filtering settings. * @returns {Promise>} - A key-value pair object where keys are setting names and values are setting values. * * @throws {Error} - Throws an error if the ORM type is not implemented. */ getSettings(request?: FindManyOptions): Promise>; get(request?: FindManyOptions): Promise>; saveSettngs(input: ITenantSetting, tenantId: string): Promise; }