import { WonderlandEngine } from "@wonderlandengine/api"; export declare function setWidgetCurrentVariable(variableName: string, engine?: Readonly): void; export declare function refreshWidget(engine?: Readonly): void; /** * @param fileURL Can contain parameters inside brackets, like `my-url.com/{param}`, which will be replaced with the same one on the current page url, like `www.currentpage.com/?param=2` * If `null` or empty, it will import from the clipboard */ export declare function importVariables(fileURL?: string | null, resetVariablesDefaultValueOnImport?: boolean, skipValueChangedNotifyOnImport?: boolean, manualImport?: boolean, onSuccessCallback?: () => void, onFailureCallback?: () => void, engine?: Readonly): void; /** * @param fileURL Can contain parameters inside brackets, like `my-url.com/{param}`, which will be replaced with the same one on the current page url, like `www.currentpage.com/?param=2` * If `null` or empty, it will import from the clipboard */ export declare function getImportVariablesJSON(fileURL?: string | null, onSuccessCallback?: (variablesJSON: string) => void, onFailureCallback?: () => void, engine?: Readonly): void; /** * @param fileURL Can contain parameters inside brackets, like `my-url.com/{param}`, which will be replaced with the same one on the current page url, like `www.currentpage.com/?param=2` * If `null` or empty, it will import from the clipboard */ export declare function exportVariables(fileURL: string | null | undefined, excludeVariablesWithValueAsDefault: boolean, variablesToKeep?: Record, onSuccessCallback?: () => void, onFailureCallback?: () => void, engine?: Readonly): void; /** * @param fileURL Can contain parameters inside brackets, like `my-url.com/{param}`, which will be replaced with the same one on the current page url, like `www.currentpage.com/?param=2` * If `null` or empty, it will import from the clipboard */ export declare function exportVariablesByName(variableNamesToExport: string[], fileURL: string | null | undefined, excludeVariablesWithValueAsDefault: boolean, variablesToKeep?: Record, onSuccessCallback?: () => void, onFailureCallback?: () => void, engine?: Readonly): void; /** * @param fileURL Can contain parameters inside brackets, like `my-url.com/{param}`, which will be replaced with the same one on the current page url, like `www.currentpage.com/?param=2` * If `null` or empty, it will import from the clipboard */ export declare function exportVariablesJSON(variablesJSONToExport: string, fileURL?: string | null, variablesToKeep?: Record, onSuccessCallback?: () => void, onFailureCallback?: () => void, engine?: Readonly): void; /** * @param fileURL Can contain parameters inside brackets, like `my-url.com/{param}`, which will be replaced with the same one on the current page url, like `www.currentpage.com/?param=2` * If `null` or empty, it will import from the clipboard */ export declare function clearExportedVariables(fileURL?: string | null, onSuccessCallback?: () => void, onFailureCallback?: () => void, engine?: Readonly): void; export declare function setAutoImportEnabledDefaultValue(defaultValue: boolean, engine?: Readonly): void; export declare function setManualImportEnabledDefaultValue(defaultValue: boolean, engine?: Readonly): void; export declare function setExportEnabledDefaultValue(defaultValue: boolean, engine?: Readonly): void; export declare function getAutoImportEnabledDefaultValue(engine?: Readonly): boolean; export declare function getManualImportEnabledDefaultValue(engine?: Readonly): boolean; export declare function getExportEnabledDefaultValue(engine?: Readonly): boolean; export declare function addSetWidgetCurrentVariableCallback(id: unknown, callback: (variableName: string) => void, engine?: Readonly): void; export declare function removeSetWidgetCurrentVariableCallback(id: unknown, engine?: Readonly): void; export declare function addRefreshWidgetCallback(id: unknown, callback: () => void, engine?: Readonly): void; export declare function removeRefreshWidgetCallback(id: unknown, engine?: Readonly): void; export declare const EasyTuneUtils: { readonly setWidgetCurrentVariable: typeof setWidgetCurrentVariable; readonly refreshWidget: typeof refreshWidget; readonly importVariables: typeof importVariables; readonly getImportVariablesJSON: typeof getImportVariablesJSON; readonly exportVariables: typeof exportVariables; readonly exportVariablesByName: typeof exportVariablesByName; readonly exportVariablesJSON: typeof exportVariablesJSON; readonly clearExportedVariables: typeof clearExportedVariables; readonly setAutoImportEnabledDefaultValue: typeof setAutoImportEnabledDefaultValue; readonly setManualImportEnabledDefaultValue: typeof setManualImportEnabledDefaultValue; readonly setExportEnabledDefaultValue: typeof setExportEnabledDefaultValue; readonly getAutoImportEnabledDefaultValue: typeof getAutoImportEnabledDefaultValue; readonly getManualImportEnabledDefaultValue: typeof getManualImportEnabledDefaultValue; readonly getExportEnabledDefaultValue: typeof getExportEnabledDefaultValue; readonly addSetWidgetCurrentVariableCallback: typeof addSetWidgetCurrentVariableCallback; readonly removeSetWidgetCurrentVariableCallback: typeof removeSetWidgetCurrentVariableCallback; readonly addRefreshWidgetCallback: typeof addRefreshWidgetCallback; readonly removeRefreshWidgetCallback: typeof removeRefreshWidgetCallback; };