/** @ignore */
export declare interface DtRuntimeUserPreferences {
getTheme(): ThemeType;
getLanguage(): string;
getRegionalFormat(): string;
getTimezone(): string;
}
/**
* Retrieves the user preferred language.
*
* @returns {string} language defined in user preferences.
*
* @example
Code example
* // Import the getLanguage function
* import { getLanguage } from '@dynatrace-sdk/user-preferences';
*
* // Get the user's language preference
* const language = getLanguage();
*/
export declare function getLanguage(): string;
/**
* Retrieves the user regional format.
*
* @returns {string} regional format defined in user preferences.
*
* @example Code example
* // Import the getRegionalFormat function
* import { getRegionalFormat } from '@dynatrace-sdk/user-preferences';
*
* // Get the user's regional format preference
* const regionalFormat = getRegionalFormat();
*/
export declare function getRegionalFormat(): string;
/**
* Retrieves the user preferred theme.
*
* @returns {ThemeType} theme defined in user preferences.
*
* @example Code example
* // Import the getTheme function
* import { getTheme } from '@dynatrace-sdk/user-preferences';
*
* // Get the user's theme preference
* const theme = getTheme();
*/
export declare function getTheme(): ThemeType;
/**
* Retrieves the user preferred timezone.
*
* Timezone can be either in ISO 8601 or tz database format.
*
* @returns {string} timezone defined in user preferences.
*
* @example Code example
* // Import the getTimezone function
* import { getTimezone } from '@dynatrace-sdk/user-preferences';
*
* // Get the user's timezone preference
* const timezone = getTimezone();
*/
export declare function getTimezone(): string;
export declare type ThemeType = 'auto' | 'dark' | 'light';
export { }