import { Sha256Hash } from "../hash/sha256hash"; import { PublicAddress } from "./ed_keys"; import { Serializable } from "../serde/serializable"; import { Enum } from "../constants/enum_type"; import { TypeCtorParams, u32, u64 } from "../constants"; export declare class MerkleProof extends Serializable { root_hash: Sha256Hash; total_leaves_count: u64; leaf_indices: u32[]; leaf_hashes: Sha256Hash[]; proof: string; constructor({ root_hash, total_leaves_count, leaf_indices, leaf_hashes, proof, }: TypeCtorParams); } export declare class StateProofItemType extends Enum { nonce?: StateProofNonce; balance?: StateProofBalance; code?: StateProofCode; cbiVersion?: StateProofCbiVersion; storage?: StateProofStorage; } export declare class StateProofNonce extends Serializable { /** * @deprecated to be removed, check wrapper enum or instance type instead */ private static index; } export declare class StateProofBalance extends Serializable { /** * @deprecated to be removed, check wrapper enum or instance type instead */ private static index; } export declare class StateProofCode extends Serializable { /** * @deprecated to be removed, check wrapper enum or instance type instead */ private static index; } export declare class StateProofCbiVersion extends Serializable { /** * @deprecated to be removed, check wrapper enum or instance type instead */ private static index; } export declare class StateProofStorage extends Serializable { /** * @deprecated to be removed, check wrapper enum or instance type instead */ private static index; storageHash: Sha256Hash; value: Uint8Array; constructor({ storageHash, value }: StateProofStorage); } export declare class StateProofItem extends Serializable { type: StateProofItemType; value: Uint8Array; constructor({ type, value }: TypeCtorParams); } export declare class StateProof extends Serializable { root_hash: Sha256Hash; item: StateProofItem; address: PublicAddress; proof: Uint8Array[]; constructor({ root_hash, item, address, proof }: TypeCtorParams); }