/** * Represents one UI theme. * @interface Theme */ export interface Theme { name?: string; id: string; } /** * List of available themes. */ export declare const availableThemes: Array; /** * Determine whether a theme identifier corresponds to a valid theme. * @export * @param {Theme} toCheck Theme identifier. * @returns {boolean} true if represents a valid theme, false otherwise. */ export declare function isValidTheme(toCheck: Theme): boolean; /** * Retrieve a theme by theme identifier * @export * @param {string} toCheck Theme identifier. * @returns {Theme} matching theme for identifier, null if none found */ export declare function getThemeById(toCheck: string): Theme; /** * Represents all runtime user profile data. * @export * @interface UserProfile */ export interface UserProfile { theme: Theme; } /** * The application user profile defaults. * Note: The default application theme is set here. */ export declare const defaultUserProfile: UserProfile; /** * Validate a provided user profile. * @export * @param {UserProfile} userProfile User profile to validate. * @returns {boolean} true if valid, false otherwise. */ export declare function isValidUserProfile(userProfile: UserProfile): boolean;