/**
 * Enhanced Theme Provider for WordPress-like Theme System
 *
 * Manages theme loading, component overrides, hot swapping, and integrates with import resolver
 */
import React from 'react';
import type { ThemeConfig } from '../../types/theme';
interface ThemeContextType {
    currentTheme: ThemeConfig | null;
    availableThemes: ThemeConfig[];
    loading: boolean;
    error?: string;
    switchTheme: (themeName: string) => Promise<boolean>;
    reloadTheme: () => Promise<void>;
    refreshThemes: () => Promise<void>;
}
interface ThemeProviderProps {
    children: React.ReactNode;
    defaultTheme?: string;
}
export declare function ThemeProvider({ children, defaultTheme }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
/**
 * Hook to use theme context
 */
export declare function useTheme(): ThemeContextType;
/**
 * Hook to check if component has an override
 */
export declare function useComponentOverride(componentPath: string): {
    hasOverride: boolean;
    Override: any;
    originalPath: string;
    themeName: string;
};
/**
 * Hook to get custom theme components
 */
export declare function useCustomComponent(componentName: string): {
    hasCustom: boolean;
    CustomComponent: any;
    themeName: string;
};
/**
 * Hook to get theme configuration values
 */
export declare function useThemeConfig(): {
    colors: any;
    fonts: any;
    spacing: any;
    breakpoints: any;
    themeName: string;
};
export {};
//# sourceMappingURL=ThemeProvider.d.ts.map