import type { SettingsType2 } from './types'; import type { Std } from '../std-adapter'; declare global { var $PCachedSettings: SettingsType2 | undefined; } export declare function getSettings(): SettingsType2 | undefined; /** * Function supposed to be called after all of the domains were loaded. It will save the settings in memory and return * it when it's needed / requested by calling the `getSettings` function. */ export declare function setSettings(settingsOrStd: Promise<{ default: SettingsType2; }> | SettingsType2 | Std | Promise<{ default: Std; }> | { settingsPathLocation: string; std: Std; }): Promise; //# sourceMappingURL=settings.d.ts.map