@funded-labs/plug-controller
Version:
Internet Computer Plug wallet's controller
19 lines (18 loc) • 577 B
TypeScript
import Secp256k1KeyIdentity from './secpk256k1/identity';
import Ed25519KeyIdentity from './ed25519/ed25519Identity';
import { Types } from '../account/constants';
export declare const parseEd25519: (pem: string) => {
identity: Ed25519KeyIdentity;
type: Types;
} | undefined;
export declare const parseSec256K1: (pem: string) => {
identity: Secp256k1KeyIdentity;
type: Types;
} | undefined;
export declare const getIdentityFromPem: (pem: any) => {
identity: Ed25519KeyIdentity;
type: Types;
} | {
identity: Secp256k1KeyIdentity;
type: Types;
};