import _m0 from "protobufjs/minimal"; import { AccountID } from "./basic_types"; import { QueryHeader } from "./query_header"; import { ResponseHeader } from "./response_header"; export declare const protobufPackage = "proto"; /** * Get all the accounts that are proxy staking to this account. For each of them, give the amount * currently staked. This is not yet implemented, but will be in a future version of the API. */ export interface CryptoGetStakersQuery { /** * 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; } /** information about a single account that is proxy staking */ export interface ProxyStaker { /** The Account ID that is proxy staking */ accountID: AccountID | undefined; /** The number of hbars that are currently proxy staked */ amount: number; } /** all of the accounts proxy staking to a given account, and the amounts proxy staked */ export interface AllProxyStakers { /** The Account ID that is being proxy staked to */ accountID: AccountID | undefined; /** Each of the proxy staking accounts, and the amount they are proxy staking */ proxyStaker: ProxyStaker[]; } /** Response when the client sends the node CryptoGetStakersQuery */ export interface CryptoGetStakersResponse { /** * Standard response from node to client, including the requested fields: cost, or state proof, * or both, or neither */ header: ResponseHeader | undefined; /** * List of accounts proxy staking to this account, and the amount each is currently proxy * staking */ stakers: AllProxyStakers | undefined; } export declare const CryptoGetStakersQuery: { encode(message: CryptoGetStakersQuery, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CryptoGetStakersQuery; fromJSON(object: any): CryptoGetStakersQuery; toJSON(message: CryptoGetStakersQuery): unknown; create(base?: DeepPartial): CryptoGetStakersQuery; fromPartial(object: DeepPartial): CryptoGetStakersQuery; }; export declare const ProxyStaker: { encode(message: ProxyStaker, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ProxyStaker; fromJSON(object: any): ProxyStaker; toJSON(message: ProxyStaker): unknown; create(base?: DeepPartial): ProxyStaker; fromPartial(object: DeepPartial): ProxyStaker; }; export declare const AllProxyStakers: { encode(message: AllProxyStakers, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): AllProxyStakers; fromJSON(object: any): AllProxyStakers; toJSON(message: AllProxyStakers): unknown; create(base?: DeepPartial): AllProxyStakers; fromPartial(object: DeepPartial): AllProxyStakers; }; export declare const CryptoGetStakersResponse: { encode(message: CryptoGetStakersResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CryptoGetStakersResponse; fromJSON(object: any): CryptoGetStakersResponse; toJSON(message: CryptoGetStakersResponse): unknown; create(base?: DeepPartial): CryptoGetStakersResponse; fromPartial(object: DeepPartial): CryptoGetStakersResponse; }; 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_stakers.d.ts.map