export type configType = { appId: number; flowType?: number; sandbox?: boolean; containerId?: `#${string}`; widgetUrl?: string; theme?: { lightMode?: { baseColor: string; inputRadius?: string; buttonRadius?: string; }; darkMode?: { baseColor: string; inputRadius?: string; buttonRadius?: string; }; default?: 'lightMode' | 'darkMode'; }; [key: string]: unknown; }; export type eventDataType = { type: string; data: object; isOnramp: boolean; }; export type callbackEventType = { origin: string; data: { eventData: eventDataType; }; }; export type callbackFntype = (event: eventDataType) => void;