import _m0 from "protobufjs/minimal";
import { AccountID } from "./basic_types";
import { QueryHeader } from "./query_header";
import { ResponseHeader } from "./response_header";
import { TransactionRecord } from "./transaction_record";
export declare const protobufPackage = "proto";
/** Requests records of all transactions for which the given account was the effective payer in the last 3 minutes of consensus time and ledger.keepRecordsInState=true was true during handleTransaction. */
export interface CryptoGetAccountRecordsQuery {
/** 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 ID for which the records should be retrieved */
accountID: AccountID | undefined;
}
/** Returns records of all transactions for which the given account was the effective payer in the last 3 minutes of consensus time and ledger.keepRecordsInState=true was true during handleTransaction. */
export interface CryptoGetAccountRecordsResponse {
/** Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither */
header: ResponseHeader | undefined;
/** The account that this record is for */
accountID: AccountID | undefined;
/** List of records */
records: TransactionRecord[];
}
export declare const CryptoGetAccountRecordsQuery: {
encode(message: CryptoGetAccountRecordsQuery, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CryptoGetAccountRecordsQuery;
fromJSON(object: any): CryptoGetAccountRecordsQuery;
toJSON(message: CryptoGetAccountRecordsQuery): unknown;
create(base?: DeepPartial): CryptoGetAccountRecordsQuery;
fromPartial(object: DeepPartial): CryptoGetAccountRecordsQuery;
};
export declare const CryptoGetAccountRecordsResponse: {
encode(message: CryptoGetAccountRecordsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CryptoGetAccountRecordsResponse;
fromJSON(object: any): CryptoGetAccountRecordsResponse;
toJSON(message: CryptoGetAccountRecordsResponse): unknown;
create(base?: DeepPartial): CryptoGetAccountRecordsResponse;
fromPartial(object: DeepPartial): CryptoGetAccountRecordsResponse;
};
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_account_records.d.ts.map