import { PageRequest, PageResponse } from "../../base/query/v1beta1/pagination"; import { Params, ValidatorSigningInfo } from "./slashing"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { JsonSafe } from "../../../json-safe"; import { DeepPartial, Exact, Rpc } from "../../../helpers"; export declare const protobufPackage = "cosmos.slashing.v1beta1"; /** QueryParamsRequest is the request type for the Query/Params RPC method */ export interface QueryParamsRequest { } /** QueryParamsResponse is the response type for the Query/Params RPC method */ export interface QueryParamsResponse { params: Params; } /** * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC * method */ export interface QuerySigningInfoRequest { /** cons_address is the address to query signing info of */ consAddress: string; } /** * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC * method */ export interface QuerySigningInfoResponse { /** val_signing_info is the signing info of requested val cons address */ valSigningInfo: ValidatorSigningInfo; } /** * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC * method */ export interface QuerySigningInfosRequest { pagination?: PageRequest; } /** * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC * method */ export interface QuerySigningInfosResponse { /** info is the signing info of all validators */ info: ValidatorSigningInfo[]; pagination?: PageResponse; } export declare const QueryParamsRequest: { typeUrl: string; encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; fromJSON(_: any): QueryParamsRequest; toJSON(_: QueryParamsRequest): JsonSafe; fromPartial, I>>(_: I): QueryParamsRequest; }; export declare const QueryParamsResponse: { typeUrl: string; encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; fromJSON(object: any): QueryParamsResponse; toJSON(message: QueryParamsResponse): JsonSafe; fromPartial, I>>(object: I): QueryParamsResponse; }; export declare const QuerySigningInfoRequest: { typeUrl: string; encode(message: QuerySigningInfoRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QuerySigningInfoRequest; fromJSON(object: any): QuerySigningInfoRequest; toJSON(message: QuerySigningInfoRequest): JsonSafe; fromPartial, I>>(object: I): QuerySigningInfoRequest; }; export declare const QuerySigningInfoResponse: { typeUrl: string; encode(message: QuerySigningInfoResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QuerySigningInfoResponse; fromJSON(object: any): QuerySigningInfoResponse; toJSON(message: QuerySigningInfoResponse): JsonSafe; fromPartial, I>>(object: I): QuerySigningInfoResponse; }; export declare const QuerySigningInfosRequest: { typeUrl: string; encode(message: QuerySigningInfosRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QuerySigningInfosRequest; fromJSON(object: any): QuerySigningInfosRequest; toJSON(message: QuerySigningInfosRequest): JsonSafe; fromPartial, I>>(object: I): QuerySigningInfosRequest; }; export declare const QuerySigningInfosResponse: { typeUrl: string; encode(message: QuerySigningInfosResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QuerySigningInfosResponse; fromJSON(object: any): QuerySigningInfosResponse; toJSON(message: QuerySigningInfosResponse): JsonSafe; fromPartial, I>>(object: I): QuerySigningInfosResponse; }; /** Query provides defines the gRPC querier service */ export interface Query { /** Params queries the parameters of slashing module */ Params(request?: QueryParamsRequest): Promise; /** SigningInfo queries the signing info of given cons address */ SigningInfo(request: QuerySigningInfoRequest): Promise; /** SigningInfos queries signing info of all validators */ SigningInfos(request?: QuerySigningInfosRequest): Promise; } export declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: Rpc); Params(request?: QueryParamsRequest): Promise; SigningInfo(request: QuerySigningInfoRequest): Promise; SigningInfos(request?: QuerySigningInfosRequest): Promise; }