import { type ReactNode } from 'react';
import type { ReactElement } from 'react';
import type { SmartStackConfig } from '@/router/types';
import '@/services/logging/logService';
import '@/extensions/componentRegistry.generated';
/**
 * SmartStack context value
 */
interface SmartStackContextValue {
    config: SmartStackConfig;
}
/**
 * Hook to access SmartStack configuration
 */
export declare function useSmartStack(): SmartStackContextValue;
/**
 * Props for SmartStackProvider
 */
interface SmartStackProviderProps {
    /**
     * SmartStack configuration
     */
    readonly config: SmartStackConfig;
    /**
     * Child components
     */
    readonly children: ReactNode;
}
/**
 * SmartStackProvider - Wraps your application with all SmartStack context providers
 *
 * @example
 * ```tsx
 * import { SmartStackProvider, DynamicRouter } from '@atlashub/smartstack';
 * import { BrowserRouter } from 'react-router-dom';
 *
 * // BrowserRouter MUST wrap SmartStackProvider (NavigationProvider needs router context)
 * function App() {
 *   return (
 *     <BrowserRouter>
 *       <SmartStackProvider config={{ apiUrl: 'http://localhost:5142' }}>
 *         <DynamicRouter />
 *       </SmartStackProvider>
 *     </BrowserRouter>
 *   );
 * }
 * ```
 */
export declare function SmartStackProvider({ config, children }: SmartStackProviderProps): ReactElement;
export {};
//# sourceMappingURL=SmartStackProvider.d.ts.map