import { SettingsList } from './SettingsList'; import { User } from '@standardnotes/responses'; import { SettingsServerInterface } from './SettingsServerInterface'; import { SettingName } from '@standardnotes/domain-core'; /** * SettingsGateway coordinates communication with the API service * wrapping the userUuid provision for simpler consumption */ export declare class SettingsGateway { private readonly settingsApi; private readonly userProvider; constructor(settingsApi: SettingsServerInterface, userProvider: { getUser: () => User | undefined; }); isReadyForModification(): boolean; private getUser; private get userUuid(); listSettings(): Promise; getSetting(name: SettingName, serverPassword?: string): Promise; getSubscriptionSetting(name: SettingName): Promise; updateSubscriptionSetting(name: SettingName, payload: string, sensitive: boolean): Promise; getDoesSensitiveSettingExist(name: SettingName): Promise; updateSetting(name: SettingName, payload: string, sensitive: boolean, totpToken?: string): Promise; deleteSetting(name: SettingName, serverPassword?: string): Promise; getMfaSecret(): Promise; deinit(): void; }