import { type ReactNode } from 'react';
import { type FeatureConfig } from '@/services/api/configApi';
interface FeatureConfigContextType {
    /** The raw feature configuration from the backend */
    config: FeatureConfig | null;
    /** Whether the configuration is still loading */
    isLoading: boolean;
    /** Whether multi-tenant mode is enabled (always true) */
    isMultiTenant: boolean;
    /** Whether hybrid mode is active (multitenant B2C only, no B2B) */
    isHybridMode: boolean;
    /** Whether B2B tenant creation is enabled */
    enableB2B: boolean;
    /** Whether B2C tenant creation is enabled */
    enableB2C: boolean;
    /** Whether URL routing with /t/{slug} prefix is active */
    useUrlRouting: boolean;
}
interface FeatureConfigProviderProps {
    children: ReactNode;
}
/**
 * Provider that loads and exposes application feature configuration.
 * This context should be placed early in the component tree, before TenantProvider.
 */
export declare function FeatureConfigProvider({ children }: FeatureConfigProviderProps): import("react/jsx-runtime").JSX.Element;
/**
 * Hook to access feature configuration.
 * Must be used within a FeatureConfigProvider.
 */
export declare function useFeatureConfig(): FeatureConfigContextType;
export {};
//# sourceMappingURL=FeatureConfigContext.d.ts.map