import { type UnSubscriber } from "../../handlers/mod.js"; import type { Settings as ISettings, ThirdPartyWidgetSettings } from "../../../gen/types/mod.js"; export interface Settings extends ISettings { } export declare class Settings { inner: ISettings; constructor(inner: ISettings); static default(): Promise; static getAsync(): Promise; static onChange(cb: (payload: Settings) => void): Promise; static loadCustom(path: string): Promise; /** * Returns the settings for the current widget, taking in care of the replicas * the returned object will be a merge of: * - the default settings set on the widget definition * - the stored user settings * - the instance patch settings (if apply) * - the monitor patch settings (if apply) */ getCurrentWidgetConfig(): ThirdPartyWidgetSettings; /** Will store the settings on disk */ save(): Promise; } //# sourceMappingURL=mod.d.ts.map