import Long from "long"; import _m0 from "protobufjs/minimal"; export declare const protobufPackage = "glodnet.chain.identity"; /** PubKeyAlgorithm defines the algorithm names for the public key */ export declare enum PubKeyAlgorithm { /** UnknownPubKeyAlgorithm - UnknownPubKeyAlgorithm defines an unknown algorithm name */ UnknownPubKeyAlgorithm = 0, /** RSA - RSA defines a RSA algorithm name */ RSA = 1, /** DSA - DSA defines a DSA algorithm name. */ DSA = 2, /** ECDSA - ECDSA defines an ECDSA algorithm name. */ ECDSA = 3, /** ED25519 - ED25519 defines an ED25519 algorithm name. */ ED25519 = 4, /** SM2 - SM2 defines an SM2 algorithm name. */ SM2 = 5, UNRECOGNIZED = -1 } export declare function pubKeyAlgorithmFromJSON(object: any): PubKeyAlgorithm; export declare function pubKeyAlgorithmToJSON(object: PubKeyAlgorithm): string; export interface Identity { address: string; certificate: string; parent: string; data: string; creator: string; } /** PubKey represents a public key along with the corresponding algorithm */ export interface PubKeyInfo { pubKey: string; algorithm: PubKeyAlgorithm; } export declare const Identity: { encode(message: Identity, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Identity; fromJSON(object: any): Identity; toJSON(message: Identity): unknown; fromPartial(object: DeepPartial): Identity; }; export declare const PubKeyInfo: { encode(message: PubKeyInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PubKeyInfo; fromJSON(object: any): PubKeyInfo; toJSON(message: PubKeyInfo): unknown; fromPartial(object: DeepPartial): PubKeyInfo; }; declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined | Long; export declare type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {};