import { ThemeClassName, ThemeName } from '@elvia/elvis-colors'; import React from 'react'; interface UseCurrentThemeApi { currentTheme: ThemeName; themeClass: ThemeClassName; updateCurrentTheme: () => void; } /** * * @param ref Ref to a DOM element inside the current component. This is used to find the closest parent with a theme class. * @returns The current theme name and the theme class name. Defaults to light theme if no theme class is found. * * @since 7.6.0 */ export declare const useCurrentTheme: (ref: React.RefObject) => UseCurrentThemeApi; export {};