import _m0 from "protobufjs/minimal"; import { ContractID } from "./basic_types"; import { QueryHeader } from "./query_header"; import { ResponseHeader } from "./response_header"; export declare const protobufPackage = "proto"; /** Get the runtime bytecode for a smart contract instance */ export interface ContractGetBytecodeQuery { /** * 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 contract for which information is requested */ contractID: ContractID | undefined; } /** Response when the client sends the node ContractGetBytecodeQuery */ export interface ContractGetBytecodeResponse { /** * standard response from node to client, including the requested fields: cost, or state proof, * or both, or neither */ header: ResponseHeader | undefined; /** the runtime bytecode of the contract */ bytecode: Uint8Array; } export declare const ContractGetBytecodeQuery: { encode(message: ContractGetBytecodeQuery, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ContractGetBytecodeQuery; fromJSON(object: any): ContractGetBytecodeQuery; toJSON(message: ContractGetBytecodeQuery): unknown; create(base?: DeepPartial): ContractGetBytecodeQuery; fromPartial(object: DeepPartial): ContractGetBytecodeQuery; }; export declare const ContractGetBytecodeResponse: { encode(message: ContractGetBytecodeResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ContractGetBytecodeResponse; fromJSON(object: any): ContractGetBytecodeResponse; toJSON(message: ContractGetBytecodeResponse): unknown; create(base?: DeepPartial): ContractGetBytecodeResponse; fromPartial(object: DeepPartial): ContractGetBytecodeResponse; }; 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=contract_get_bytecode.d.ts.map