import { FC } from "react";
declare global {
    interface Window {
        paypal: any;
    }
}
export interface PayPalButtonProps {
    onSuccessCallback?: () => void;
    onErrorCallback?: (result: any) => void;
    createSubscription?: Function;
    onButtonReady?: () => void;
    clientId?: string;
    disableFunding?: string;
    corsMode: RequestMode;
}
declare const PaypalButton: FC<PayPalButtonProps>;
export default PaypalButton;
//# sourceMappingURL=index.d.ts.map