import React from "react"; import { IEcomContext, IEcomStore } from "../../types"; interface IBankIdProps extends IEcomContext, IEcomStore { onHideOverlay: () => void; onProceedToNextStep: () => void; } interface IState { useQrCode: boolean; cancellationToken?: number; } declare class BankId extends React.Component { constructor(props: IBankIdProps); componentDidMount(): void; componentDidUpdate(prevProps: IBankIdProps, prevState: IState): void; componentWillUnmount(): void; startAuth(): void; shouldAuth(): boolean; auth(): void; restartAuth(prevState: IState): void; onAuthStarted(prevProps: IBankIdProps): void; onCollect(prevProps: IBankIdProps): void; hasOngoingProcess(): boolean; collect(): void; scheduleNewCollect(): void; onComplete(): void; cancel(): void; onCancelled(): void; switchMethod(): void; onCancelledForSwitch(): void; canLaunch(): boolean; launch(): void; render(): JSX.Element; } export default BankId;