@adyen/adyen-web
Version:
[](https://www.npmjs.com/package/@adyen/adyen-web)
23 lines (22 loc) • 852 B
TypeScript
import { h } from 'preact';
import UIElement from '../UIElement';
import { AmazonPayElementData, AmazonPayElementProps } from './types';
import './AmazonPay.scss';
import { SendAnalyticsObject } from '../../core/Analytics/types';
export declare class AmazonPayElement extends UIElement<AmazonPayElementProps> {
static type: string;
protected static defaultProps: Partial<AmazonPayElementProps>;
protected submitAnalytics(analyticsObj: SendAnalyticsObject): void;
formatProps(props: any): any;
/**
* Formats the component data output
*/
formatData(): AmazonPayElementData;
getShopperDetails(): void | Promise<any>;
handleDeclineFlow(): void;
get isValid(): boolean;
get browserInfo(): import("../../types").BrowserInfo;
submit(): any;
render(): h.JSX.Element;
}
export default AmazonPayElement;