import * as React from 'react';
import type { PaymentComponentProps, PaymentComponentState } from '../../../../types/elements';
export default class BaseElement<T extends PaymentComponentProps, S extends PaymentComponentState> extends React.Component<T, S> {
    readonly state: S;
    protected elementNode: HTMLDivElement | null;
    componentWillUnmount(): void;
    componentDidMount(): void;
    setupElement(): void;
    handleSetupElement(): void;
    shouldComponentUpdate(nextProps: any, nextState: any): boolean;
    render(): React.JSX.Element;
}
