import _m0 from "protobufjs/minimal"; import { AccountID } from "./basic_types"; import { LiveHash } from "./crypto_add_live_hash"; import { QueryHeader } from "./query_header"; import { ResponseHeader } from "./response_header"; export declare const protobufPackage = "proto"; /** Requests a livehash associated to an account. */ export interface CryptoGetLiveHashQuery { /** * Standard info sent from client to node, including the signed payment, and what kind of * response is requested (cost, state proof, both, or neither). */ header: QueryHeader | undefined; /** The account to which the livehash is associated */ accountID: AccountID | undefined; /** The SHA-384 data in the livehash */ hash: Uint8Array; } /** * Returns the full livehash associated to an account, if it is present. Note that the only way to * obtain a state proof exhibiting the absence of a livehash from an account is to retrieve a state * proof of the entire account with its list of livehashes. */ export interface CryptoGetLiveHashResponse { /** * Standard response from node to client, including the requested fields: cost, or state proof, * or both, or neither */ header: ResponseHeader | undefined; /** The livehash, if present */ liveHash: LiveHash | undefined; } export declare const CryptoGetLiveHashQuery: { encode(message: CryptoGetLiveHashQuery, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CryptoGetLiveHashQuery; fromJSON(object: any): CryptoGetLiveHashQuery; toJSON(message: CryptoGetLiveHashQuery): unknown; create(base?: DeepPartial): CryptoGetLiveHashQuery; fromPartial(object: DeepPartial): CryptoGetLiveHashQuery; }; export declare const CryptoGetLiveHashResponse: { encode(message: CryptoGetLiveHashResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CryptoGetLiveHashResponse; fromJSON(object: any): CryptoGetLiveHashResponse; toJSON(message: CryptoGetLiveHashResponse): unknown; create(base?: DeepPartial): CryptoGetLiveHashResponse; fromPartial(object: DeepPartial): CryptoGetLiveHashResponse; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends { $case: string; } ? { [K in keyof Omit]?: DeepPartial; } & { $case: T["$case"]; } : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {}; //# sourceMappingURL=crypto_get_live_hash.d.ts.map