import { WrappedBrowserProvider } from '@imtbl/checkout-sdk';
import { useViewState } from '../../../context/view-context/ViewContext';
/**
 * Subscribe and Handle widget events
 */
export declare function useWidgetEvents(eventTarget: Window | EventTarget, viewState: ReturnType<typeof useViewState>, handleProviderUpdated: (provider: WrappedBrowserProvider) => void): void;
