import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { TxRpc } from "../../../types"; import { QueryClient } from "@cosmjs/stargate"; export declare const protobufPackage = "cosmos.slashing.v1beta1"; /** QueryParamsRequest is the request type for the Query/Params RPC method */ export interface QueryParamsRequest { } /** QueryParamsRequest is the request type for the Query/Params RPC method */ export interface QueryParamsRequestSDKType { } /** QueryParamsResponse is the response type for the Query/Params RPC method */ export interface QueryParamsResponse { params: Params | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method */ export interface QueryParamsResponseSDKType { params: ParamsSDKType | undefined; } /** * 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; } /** * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC * method */ export interface QuerySigningInfoRequestSDKType { cons_address: 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 | undefined; } /** * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC * method */ export interface QuerySigningInfoResponseSDKType { val_signing_info: ValidatorSigningInfoSDKType | undefined; } /** * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC * method */ export interface QuerySigningInfosRequest { pagination?: PageRequest | undefined; } /** * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC * method */ export interface QuerySigningInfosRequestSDKType { pagination?: PageRequestSDKType | undefined; } /** * 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 | undefined; } /** * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC * method */ export interface QuerySigningInfosResponseSDKType { info: ValidatorSigningInfoSDKType[]; pagination?: PageResponseSDKType | undefined; } export declare const QueryParamsRequest: { typeUrl: string; encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; fromJSON(_: any): QueryParamsRequest; toJSON(_: QueryParamsRequest): unknown; fromPartial & {} & Record, never>>(_: 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): unknown; fromPartial & { params?: Params & { signedBlocksWindow: bigint; minSignedPerWindow: Uint8Array; downtimeJailDuration: import("../../../google/protobuf/duration").Duration & { seconds: bigint; nanos: number; } & Record, never>; slashFractionDoubleSign: Uint8Array; slashFractionDowntime: Uint8Array; } & Record, never>; } & Record, never>>(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): unknown; fromPartial & { consAddress?: string; } & Record, never>>(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): unknown; fromPartial & { valSigningInfo?: ValidatorSigningInfo & { address: string; startHeight: bigint; indexOffset: bigint; jailedUntil: import("../../../google/protobuf/timestamp").Timestamp & { seconds: bigint; nanos: number; } & Record, never>; tombstoned: boolean; missedBlocksCounter: bigint; } & Record, never>; } & Record, never>>(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): unknown; fromPartial & { pagination?: PageRequest & { key: Uint8Array; offset: bigint; limit: bigint; countTotal: boolean; reverse: boolean; } & Record, never>; } & Record, never>>(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): unknown; fromPartial & { info?: ValidatorSigningInfo[] & (ValidatorSigningInfo & { address: string; startHeight: bigint; indexOffset: bigint; jailedUntil: import("../../../google/protobuf/timestamp").Timestamp & { seconds: bigint; nanos: number; } & Record, never>; tombstoned: boolean; missedBlocksCounter: bigint; } & Record, never>)[] & Record, never>; pagination?: PageResponse & { nextKey: Uint8Array; total: bigint; } & Record, never>; } & Record, never>>(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: TxRpc); Params(request?: QueryParamsRequest): Promise; SigningInfo(request: QuerySigningInfoRequest): Promise; SigningInfos(request?: QuerySigningInfosRequest): Promise; } export declare const createRpcQueryExtension: (base: QueryClient) => { Params(request?: QueryParamsRequest): Promise; SigningInfo(request: QuerySigningInfoRequest): Promise; SigningInfos(request?: QuerySigningInfosRequest): Promise; };