import type { KeyringPair } from '@subwallet/keyring/types'; import type { SignerPayloadJSON } from '@polkadot/types/types'; import type { HexString } from '@polkadot/util/types'; import type { RequestSign } from './types'; import { TypeRegistry } from '@polkadot/types'; export default class RequestExtrinsicSign implements RequestSign { readonly payload: SignerPayloadJSON; constructor(payload: SignerPayloadJSON); sign(registry: TypeRegistry, pair: KeyringPair): { signature: HexString; }; }