import _m0 from "protobufjs/minimal"; import { ContractID } from "./basic_types"; import { QueryHeader } from "./query_header"; import { ResponseHeader } from "./response_header"; import { TransactionRecord } from "./transaction_record"; export declare const protobufPackage = "proto"; /** * Before v0.9.0, requested records of all transactions against the given contract in the last 25 hours. * * @deprecated */ export interface ContractGetRecordsQuery { /** 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 smart contract instance for which the records should be retrieved */ contractID: ContractID | undefined; } /** * Before v0.9.0, returned records of all transactions against the given contract in the last 25 hours. * * @deprecated */ export interface ContractGetRecordsResponse { /** Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither */ header: ResponseHeader | undefined; /** The smart contract instance that this record is for */ contractID: ContractID | undefined; /** List of records, each with contractCreateResult or contractCallResult as its body */ records: TransactionRecord[]; } export declare const ContractGetRecordsQuery: { encode(message: ContractGetRecordsQuery, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ContractGetRecordsQuery; fromJSON(object: any): ContractGetRecordsQuery; toJSON(message: ContractGetRecordsQuery): unknown; create(base?: DeepPartial): ContractGetRecordsQuery; fromPartial(object: DeepPartial): ContractGetRecordsQuery; }; export declare const ContractGetRecordsResponse: { encode(message: ContractGetRecordsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ContractGetRecordsResponse; fromJSON(object: any): ContractGetRecordsResponse; toJSON(message: ContractGetRecordsResponse): unknown; create(base?: DeepPartial): ContractGetRecordsResponse; fromPartial(object: DeepPartial): ContractGetRecordsResponse; }; 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_records.d.ts.map