import type { ThemeContextValue } from './types';
/**
  Custom hook that allows access to the ThemeContext.
  Must be used within a ThemeProvider.

  @throws Will throw an error if not used within a ThemeProvider.
  @returns The ThemeContextValue from the context.
*/
export declare const useTheme: () => ThemeContextValue | never;
