import { default as React, ReactNode } from 'react';
import { ThemePreference } from './types';
interface ThemePreferenceContextValue {
    themePreference: ThemePreference;
    setThemePreference: (preference: ThemePreference) => void;
    toggleThemePreference: () => void;
}
interface ThemePreferenceProviderProps {
    children: ReactNode;
    initialPreference?: ThemePreference;
}
export declare const getInitialThemePreference: () => "dark" | "light";
export declare const ThemePreferenceProvider: (props: ThemePreferenceProviderProps) => React.FunctionComponentElement<React.ProviderProps<ThemePreferenceContextValue | null>>;
export declare const useThemePreference: () => ThemePreferenceContextValue;
export {};
