/**
 * Configuration properties for the Clear Estimates widget
 *
 * @property apiKey - API key for authentication with Clear Estimates
 * @property apiUrl - URL of the Clear Estimates API server
 * @property style - Display mode: "inline" (embedded in page) or "popover" (button opens dialog)
 */
export interface WidgetContextProps {
    apiKey: string;
    apiUrl: string;
    style?: "popover" | "inline";
}
/**
 * React Context that stores widget configuration
 *
 * This context makes the widget settings available throughout the application
 * without having to pass them as props to every component.
 */
export declare const WidgetContext: import('react').Context<WidgetContextProps>;
/**
 * Custom hook to access widget configuration
 *
 * Use this hook in any component that needs to access the widget settings.
 * Example:
 * ```
 * const { apiKey, apiUrl, style } = useWidgetContext();
 * ```
 *
 * @returns The current widget configuration
 */
export declare const useWidgetContext: () => WidgetContextProps;
