import type {
    Configuration as FramePaySettings,
    TokenData,
} from '@rebilly/framepay';

interface ProviderProps extends FramePaySettings {
    children?: React.ReactNode | undefined;
    readonly injectScript?: boolean;
    readonly onReady?: () => void;
    readonly onError?: (error: object) => void;
    readonly onTokenReady?: (token: TokenData) => void;
}
