import { PropsWithChildren, default as React } from 'react';
import { WidgetContextProps } from '../lib/context';
/**
 * Props for the AppProvider component
 * Combines React's PropsWithChildren with our WidgetContextProps
 */
export type AppProviderProps = PropsWithChildren<WidgetContextProps>;
/**
 * Main provider component that wraps the entire widget
 *
 * @param apiKey - API key for authentication with Clear Estimates API
 * @param apiUrl - URL of the Clear Estimates API server
 * @param style - Display mode ("inline" or "popover"), defaults to "inline"
 * @param children - Child components to render inside the provider
 * @returns The provider-wrapped application
 */
export declare const AppProvider: React.FC<AppProviderProps>;
