import { TransactionType } from '../types';
export interface BizumProps {
    accountId?: string;
    sessionId?: string;
    paymentId?: string;
    phoneNumber?: string;
    amount?: number;
    currency?: string;
    transactionType?: TransactionType;
    fullscreen?: boolean;
    language?: string;
    onError?: (error: any) => void;
    onProps?: (cb: (props: BizumProps) => void) => Promise<void>;
    onSubmit: (data: {
        token?: string;
        error?: string;
    }) => void;
    onLoad?: (isSupported: boolean) => void;
    onBeforeOpen?: () => boolean;
    onOpen?: () => void;
    style?: {
        height?: number;
        type?: 'pay' | 'plain';
    };
}
export interface BizumModalProps extends BizumProps {
    isOpen?: boolean;
    isHidden?: boolean;
    onError?: (error: any) => void;
}
