import { RegistryKey, RegistryValueType, ValuedRegistryKey } from "tc-shared/settings"; export declare class ServerSettings { private cacheServer; private settingsDestroyed; private serverUniqueId; private serverSaveWorker; private serverSettingsUpdated; constructor(); destroy(): void; getValue(key: RegistryKey, defaultValue: DV): V | DV; getValue(key: ValuedRegistryKey, defaultValue?: V): V; setValue(key: RegistryKey, value?: T): void; setServerUniqueId(serverUniqueId: string): void; save(): void; } export interface ServerSettingsStorage { get(serverUniqueId: string): string; set(serverUniqueId: string, value: string): any; } export declare function setServerSettingsStorage(storage: ServerSettingsStorage): void;