import type { HexString } from '@polkadot/util/types'; import React from 'react'; interface ScanType { isAddress: boolean; content: string; genesisHash: HexString | null; name?: string | undefined; } interface Props { className?: string; onError?: (error: Error) => void; onScan: (scanned: ScanType) => void; size?: string | number; style?: React.CSSProperties; isEthereum?: boolean; } declare function ScanAddress({ className, isEthereum, onError, onScan, size, style }: Props): React.ReactElement; export declare const QrScanAddress: React.MemoExoticComponent; export {};