import type { Signer, SignerResult } from '@polkadot/api/types'; import type { Registry, SignerPayloadJSON } from '@polkadot/types/types'; import { ExternalRequestPromise } from '@soul-wallet/extension-base/background/KoniTypes'; import { QrState } from '@soul-wallet/extension-base/signers/types'; interface CallbackProps { qrState: QrState; } interface QrSignerProps { registry: Registry; callback: (state: CallbackProps) => void; id: string; setState: (promise: ExternalRequestPromise) => void; resolver: () => void; } export default class QrSigner implements Signer { #private; constructor({ callback, id, registry, resolver, setState }: QrSignerProps); signPayload(payload: SignerPayloadJSON): Promise; } export {};