import { type WidgetCallbacks } from '@layerswap/widget-types'; import { SwapFormValues } from '../components/Pages/Swap/Form/SwapFormValues'; import { SwapResponse } from '../lib/apiClients/layerSwapApiClient'; import { ReactNode } from 'react'; export interface CallbacksContextType extends Omit { onFormChange?: (formData: SwapFormValues) => void; onSwapCreate?: (swapData: SwapResponse) => void; onSwapComplete?: (swapData: SwapResponse) => void; } export interface CallbackProviderProps { children: ReactNode; callbacks?: CallbacksContextType; } type CallbackContextValue = Required>; export declare function CallbackProvider({ children, callbacks }: CallbackProviderProps): import("react/jsx-runtime").JSX.Element; export declare function useCallbacks(): CallbackContextValue; export {}; //# sourceMappingURL=callbackProvider.d.ts.map