UNPKG

359 BTypeScriptView Raw
1import type { EncryptedJsonEncoding } from '@polkadot/util-crypto/types';
2import type { PairInfo } from './types';
3declare type DecodeResult = PairInfo & {
4 secretKey: Uint8Array;
5};
6export declare function decodePair(passphrase?: string, encrypted?: Uint8Array | null, _encType?: EncryptedJsonEncoding | EncryptedJsonEncoding[]): DecodeResult;
7export {};