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 { LedgerState } from '@soul-wallet/extension-base/signers/types'; interface CallbackProps { ledgerState: LedgerState; } export default class LedgerSigner implements Signer { #private; constructor(registry: Registry, callback: (state: CallbackProps) => void, id: string, setState: (promise: ExternalRequestPromise) => void); signPayload(payload: SignerPayloadJSON): Promise; } export {};