export declare const THEME_DATA_ATTRIBUTE = "data-theme";
export declare const THEME_CHANGE_EVENT = "themechange";
export declare const THEME_DEFAULT: "default";
export declare const THEME_SYSTEM: "system";
export declare const THEME_LIGHT: "light";
export declare const THEME_DARK: "dark";
export type ColorScheme = typeof THEME_DEFAULT | typeof THEME_SYSTEM | typeof THEME_LIGHT | typeof THEME_DARK;
/**
 * Returns the desired color scheme based on the user's cookie.
 *
 * This might be `undefined`, too, when no cookie value is set!
 */
export declare const getColorScheme: () => ColorScheme | undefined;
/**
 * Stores the given preferred color scheme in the browser's cookies.
 *
 * This should be done by a RIO service like User Profile SPA using a theme switcher component from the UIKIT where this
 * function is referenced.
 *
 * @param scheme The color scheme to save.
 */
export declare const setColorScheme: (scheme: ColorScheme) => void;
/**
 * Initiates listening for theme change events.
 */
export declare const listenForSchemeChange: () => void;
