@polkadot/keyring
Version:
8 lines (7 loc) • 354 B
TypeScript
import type { EncryptedJsonEncoding } from '@polkadot/util-crypto/types';
import type { PairInfo } from './types.js';
type DecodeResult = PairInfo & {
secretKey: Uint8Array;
};
export declare function decodePair(passphrase?: string, encrypted?: Uint8Array | null, _encType?: EncryptedJsonEncoding | EncryptedJsonEncoding[]): DecodeResult;
export {};