import type SynergyElement from '../../internal/synergy-element.js'; import { type ComponentNamesWithDefaultValues, type ExtractSettingsForElement, type GlobalSettingsEnabledElement, type RecursivePartial, type SynDefaultSettings } from './base.js'; /** * Enables or disables the setting to emit events when the default settings change * @param enabled Whether to enable or disable the setting */ export declare const enableSettingEmitEvents: (enabled?: boolean) => void; /** * Enables or disables the setting to emit events when the default settings change * @param enabled Whether to enable or disable the setting * * @deprecated This API is now marked stable. Please use enableSettingEmitEvents instead! */ export declare const enableExperimentalSettingEmitEvents: (enabled?: boolean) => void; /** * Adds an element to the global event notification map * Does not have any effect when SYNERGY_SETTING_EMIT_EVENTS is false * @param element The element to add */ export declare const addGlobalEventNotification: (element: GlobalSettingsEnabledElement) => void; /** * Removes an element from the global event notification map * Does not have any effect when SYNERGY_SETTING_EMIT_EVENTS is false * @param element The element to remove */ export declare const removeGlobalEventNotification: (element: GlobalSettingsEnabledElement) => void; /** * Extracts all available default settings for a given component * @param component The name of the component to get the settings for * @param from The source to get the settings from * @returns key value pair of found settings for the given component */ export declare const extractDefaultSettingsForElement: (component: ComponentNamesWithDefaultValues, from?: "default" | "initial") => Record; /** * Set the default values for a given component * @param component The component to set the defaults for * @param newValues Map of new values to set */ export declare const setDefaultSettingsForElement: (component: ComponentNamesWithDefaultValues, newValues: Partial>) => SynDefaultSettings; /** * Set the global default settings * @param newSettings The new settings to set */ export declare const setGlobalDefaultSettings: (newSettings: RecursivePartial) => SynDefaultSettings; /** * Reset the global default settings to synergies initial values */ export declare const resetGlobalDefaultSettings: () => SynDefaultSettings;