import { PageRequest, type PageRequestSDKType, PageResponse, type PageResponseSDKType } from '../../base/query/v1beta1/pagination.js'; import { Validator, type ValidatorSDKType, DelegationResponse, type DelegationResponseSDKType, UnbondingDelegation, type UnbondingDelegationSDKType, RedelegationResponse, type RedelegationResponseSDKType, HistoricalInfo, type HistoricalInfoSDKType, Pool, type PoolSDKType, Params, type ParamsSDKType } from './staking.js'; import { BinaryReader, BinaryWriter } from '../../../binary.js'; import { type JsonSafe } from '../../../json-safe.js'; /** QueryValidatorsRequest is request type for Query/Validators RPC method. */ export interface QueryValidatorsRequest { /** status enables to query for validators matching a given status. */ status: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } export interface QueryValidatorsRequestProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryValidatorsRequest'; value: Uint8Array; } /** QueryValidatorsRequest is request type for Query/Validators RPC method. */ export interface QueryValidatorsRequestSDKType { status: string; pagination?: PageRequestSDKType; } /** QueryValidatorsResponse is response type for the Query/Validators RPC method */ export interface QueryValidatorsResponse { /** validators contains all the queried validators. */ validators: Validator[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } export interface QueryValidatorsResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryValidatorsResponse'; value: Uint8Array; } /** QueryValidatorsResponse is response type for the Query/Validators RPC method */ export interface QueryValidatorsResponseSDKType { validators: ValidatorSDKType[]; pagination?: PageResponseSDKType; } /** QueryValidatorRequest is response type for the Query/Validator RPC method */ export interface QueryValidatorRequest { /** validator_addr defines the validator address to query for. */ validatorAddr: string; } export interface QueryValidatorRequestProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryValidatorRequest'; value: Uint8Array; } /** QueryValidatorRequest is response type for the Query/Validator RPC method */ export interface QueryValidatorRequestSDKType { validator_addr: string; } /** QueryValidatorResponse is response type for the Query/Validator RPC method */ export interface QueryValidatorResponse { /** validator defines the validator info. */ validator: Validator; } export interface QueryValidatorResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryValidatorResponse'; value: Uint8Array; } /** QueryValidatorResponse is response type for the Query/Validator RPC method */ export interface QueryValidatorResponseSDKType { validator: ValidatorSDKType; } /** * QueryValidatorDelegationsRequest is request type for the * Query/ValidatorDelegations RPC method */ export interface QueryValidatorDelegationsRequest { /** validator_addr defines the validator address to query for. */ validatorAddr: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } export interface QueryValidatorDelegationsRequestProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryValidatorDelegationsRequest'; value: Uint8Array; } /** * QueryValidatorDelegationsRequest is request type for the * Query/ValidatorDelegations RPC method */ export interface QueryValidatorDelegationsRequestSDKType { validator_addr: string; pagination?: PageRequestSDKType; } /** * QueryValidatorDelegationsResponse is response type for the * Query/ValidatorDelegations RPC method */ export interface QueryValidatorDelegationsResponse { delegationResponses: DelegationResponse[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } export interface QueryValidatorDelegationsResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryValidatorDelegationsResponse'; value: Uint8Array; } /** * QueryValidatorDelegationsResponse is response type for the * Query/ValidatorDelegations RPC method */ export interface QueryValidatorDelegationsResponseSDKType { delegation_responses: DelegationResponseSDKType[]; pagination?: PageResponseSDKType; } /** * QueryValidatorUnbondingDelegationsRequest is required type for the * Query/ValidatorUnbondingDelegations RPC method */ export interface QueryValidatorUnbondingDelegationsRequest { /** validator_addr defines the validator address to query for. */ validatorAddr: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } export interface QueryValidatorUnbondingDelegationsRequestProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest'; value: Uint8Array; } /** * QueryValidatorUnbondingDelegationsRequest is required type for the * Query/ValidatorUnbondingDelegations RPC method */ export interface QueryValidatorUnbondingDelegationsRequestSDKType { validator_addr: string; pagination?: PageRequestSDKType; } /** * QueryValidatorUnbondingDelegationsResponse is response type for the * Query/ValidatorUnbondingDelegations RPC method. */ export interface QueryValidatorUnbondingDelegationsResponse { unbondingResponses: UnbondingDelegation[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } export interface QueryValidatorUnbondingDelegationsResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse'; value: Uint8Array; } /** * QueryValidatorUnbondingDelegationsResponse is response type for the * Query/ValidatorUnbondingDelegations RPC method. */ export interface QueryValidatorUnbondingDelegationsResponseSDKType { unbonding_responses: UnbondingDelegationSDKType[]; pagination?: PageResponseSDKType; } /** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ export interface QueryDelegationRequest { /** delegator_addr defines the delegator address to query for. */ delegatorAddr: string; /** validator_addr defines the validator address to query for. */ validatorAddr: string; } export interface QueryDelegationRequestProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryDelegationRequest'; value: Uint8Array; } /** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ export interface QueryDelegationRequestSDKType { delegator_addr: string; validator_addr: string; } /** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ export interface QueryDelegationResponse { /** delegation_responses defines the delegation info of a delegation. */ delegationResponse?: DelegationResponse; } export interface QueryDelegationResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryDelegationResponse'; value: Uint8Array; } /** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ export interface QueryDelegationResponseSDKType { delegation_response?: DelegationResponseSDKType; } /** * QueryUnbondingDelegationRequest is request type for the * Query/UnbondingDelegation RPC method. */ export interface QueryUnbondingDelegationRequest { /** delegator_addr defines the delegator address to query for. */ delegatorAddr: string; /** validator_addr defines the validator address to query for. */ validatorAddr: string; } export interface QueryUnbondingDelegationRequestProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryUnbondingDelegationRequest'; value: Uint8Array; } /** * QueryUnbondingDelegationRequest is request type for the * Query/UnbondingDelegation RPC method. */ export interface QueryUnbondingDelegationRequestSDKType { delegator_addr: string; validator_addr: string; } /** * QueryDelegationResponse is response type for the Query/UnbondingDelegation * RPC method. */ export interface QueryUnbondingDelegationResponse { /** unbond defines the unbonding information of a delegation. */ unbond: UnbondingDelegation; } export interface QueryUnbondingDelegationResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryUnbondingDelegationResponse'; value: Uint8Array; } /** * QueryDelegationResponse is response type for the Query/UnbondingDelegation * RPC method. */ export interface QueryUnbondingDelegationResponseSDKType { unbond: UnbondingDelegationSDKType; } /** * QueryDelegatorDelegationsRequest is request type for the * Query/DelegatorDelegations RPC method. */ export interface QueryDelegatorDelegationsRequest { /** delegator_addr defines the delegator address to query for. */ delegatorAddr: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } export interface QueryDelegatorDelegationsRequestProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest'; value: Uint8Array; } /** * QueryDelegatorDelegationsRequest is request type for the * Query/DelegatorDelegations RPC method. */ export interface QueryDelegatorDelegationsRequestSDKType { delegator_addr: string; pagination?: PageRequestSDKType; } /** * QueryDelegatorDelegationsResponse is response type for the * Query/DelegatorDelegations RPC method. */ export interface QueryDelegatorDelegationsResponse { /** delegation_responses defines all the delegations' info of a delegator. */ delegationResponses: DelegationResponse[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } export interface QueryDelegatorDelegationsResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse'; value: Uint8Array; } /** * QueryDelegatorDelegationsResponse is response type for the * Query/DelegatorDelegations RPC method. */ export interface QueryDelegatorDelegationsResponseSDKType { delegation_responses: DelegationResponseSDKType[]; pagination?: PageResponseSDKType; } /** * QueryDelegatorUnbondingDelegationsRequest is request type for the * Query/DelegatorUnbondingDelegations RPC method. */ export interface QueryDelegatorUnbondingDelegationsRequest { /** delegator_addr defines the delegator address to query for. */ delegatorAddr: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } export interface QueryDelegatorUnbondingDelegationsRequestProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest'; value: Uint8Array; } /** * QueryDelegatorUnbondingDelegationsRequest is request type for the * Query/DelegatorUnbondingDelegations RPC method. */ export interface QueryDelegatorUnbondingDelegationsRequestSDKType { delegator_addr: string; pagination?: PageRequestSDKType; } /** * QueryUnbondingDelegatorDelegationsResponse is response type for the * Query/UnbondingDelegatorDelegations RPC method. */ export interface QueryDelegatorUnbondingDelegationsResponse { unbondingResponses: UnbondingDelegation[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } export interface QueryDelegatorUnbondingDelegationsResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse'; value: Uint8Array; } /** * QueryUnbondingDelegatorDelegationsResponse is response type for the * Query/UnbondingDelegatorDelegations RPC method. */ export interface QueryDelegatorUnbondingDelegationsResponseSDKType { unbonding_responses: UnbondingDelegationSDKType[]; pagination?: PageResponseSDKType; } /** * QueryRedelegationsRequest is request type for the Query/Redelegations RPC * method. */ export interface QueryRedelegationsRequest { /** delegator_addr defines the delegator address to query for. */ delegatorAddr: string; /** src_validator_addr defines the validator address to redelegate from. */ srcValidatorAddr: string; /** dst_validator_addr defines the validator address to redelegate to. */ dstValidatorAddr: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } export interface QueryRedelegationsRequestProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryRedelegationsRequest'; value: Uint8Array; } /** * QueryRedelegationsRequest is request type for the Query/Redelegations RPC * method. */ export interface QueryRedelegationsRequestSDKType { delegator_addr: string; src_validator_addr: string; dst_validator_addr: string; pagination?: PageRequestSDKType; } /** * QueryRedelegationsResponse is response type for the Query/Redelegations RPC * method. */ export interface QueryRedelegationsResponse { redelegationResponses: RedelegationResponse[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } export interface QueryRedelegationsResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryRedelegationsResponse'; value: Uint8Array; } /** * QueryRedelegationsResponse is response type for the Query/Redelegations RPC * method. */ export interface QueryRedelegationsResponseSDKType { redelegation_responses: RedelegationResponseSDKType[]; pagination?: PageResponseSDKType; } /** * QueryDelegatorValidatorsRequest is request type for the * Query/DelegatorValidators RPC method. */ export interface QueryDelegatorValidatorsRequest { /** delegator_addr defines the delegator address to query for. */ delegatorAddr: string; /** pagination defines an optional pagination for the request. */ pagination?: PageRequest; } export interface QueryDelegatorValidatorsRequestProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest'; value: Uint8Array; } /** * QueryDelegatorValidatorsRequest is request type for the * Query/DelegatorValidators RPC method. */ export interface QueryDelegatorValidatorsRequestSDKType { delegator_addr: string; pagination?: PageRequestSDKType; } /** * QueryDelegatorValidatorsResponse is response type for the * Query/DelegatorValidators RPC method. */ export interface QueryDelegatorValidatorsResponse { /** validators defines the validators' info of a delegator. */ validators: Validator[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } export interface QueryDelegatorValidatorsResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse'; value: Uint8Array; } /** * QueryDelegatorValidatorsResponse is response type for the * Query/DelegatorValidators RPC method. */ export interface QueryDelegatorValidatorsResponseSDKType { validators: ValidatorSDKType[]; pagination?: PageResponseSDKType; } /** * QueryDelegatorValidatorRequest is request type for the * Query/DelegatorValidator RPC method. */ export interface QueryDelegatorValidatorRequest { /** delegator_addr defines the delegator address to query for. */ delegatorAddr: string; /** validator_addr defines the validator address to query for. */ validatorAddr: string; } export interface QueryDelegatorValidatorRequestProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryDelegatorValidatorRequest'; value: Uint8Array; } /** * QueryDelegatorValidatorRequest is request type for the * Query/DelegatorValidator RPC method. */ export interface QueryDelegatorValidatorRequestSDKType { delegator_addr: string; validator_addr: string; } /** * QueryDelegatorValidatorResponse response type for the * Query/DelegatorValidator RPC method. */ export interface QueryDelegatorValidatorResponse { /** validator defines the validator info. */ validator: Validator; } export interface QueryDelegatorValidatorResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryDelegatorValidatorResponse'; value: Uint8Array; } /** * QueryDelegatorValidatorResponse response type for the * Query/DelegatorValidator RPC method. */ export interface QueryDelegatorValidatorResponseSDKType { validator: ValidatorSDKType; } /** * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC * method. */ export interface QueryHistoricalInfoRequest { /** height defines at which height to query the historical info. */ height: bigint; } export interface QueryHistoricalInfoRequestProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryHistoricalInfoRequest'; value: Uint8Array; } /** * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC * method. */ export interface QueryHistoricalInfoRequestSDKType { height: bigint; } /** * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC * method. */ export interface QueryHistoricalInfoResponse { /** hist defines the historical info at the given height. */ hist?: HistoricalInfo; } export interface QueryHistoricalInfoResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryHistoricalInfoResponse'; value: Uint8Array; } /** * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC * method. */ export interface QueryHistoricalInfoResponseSDKType { hist?: HistoricalInfoSDKType; } /** QueryPoolRequest is request type for the Query/Pool RPC method. */ export interface QueryPoolRequest { } export interface QueryPoolRequestProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryPoolRequest'; value: Uint8Array; } /** QueryPoolRequest is request type for the Query/Pool RPC method. */ export interface QueryPoolRequestSDKType { } /** QueryPoolResponse is response type for the Query/Pool RPC method. */ export interface QueryPoolResponse { /** pool defines the pool info. */ pool: Pool; } export interface QueryPoolResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryPoolResponse'; value: Uint8Array; } /** QueryPoolResponse is response type for the Query/Pool RPC method. */ export interface QueryPoolResponseSDKType { pool: PoolSDKType; } /** QueryParamsRequest is request type for the Query/Params RPC method. */ export interface QueryParamsRequest { } export interface QueryParamsRequestProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryParamsRequest'; value: Uint8Array; } /** QueryParamsRequest is request type for the Query/Params RPC method. */ export interface QueryParamsRequestSDKType { } /** QueryParamsResponse is response type for the Query/Params RPC method. */ export interface QueryParamsResponse { /** params holds all the parameters of this module. */ params: Params; } export interface QueryParamsResponseProtoMsg { typeUrl: '/cosmos.staking.v1beta1.QueryParamsResponse'; value: Uint8Array; } /** QueryParamsResponse is response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { params: ParamsSDKType; } export declare const QueryValidatorsRequest: { typeUrl: "/cosmos.staking.v1beta1.QueryValidatorsRequest"; encode(message: QueryValidatorsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorsRequest; fromJSON(object: any): QueryValidatorsRequest; toJSON(message: QueryValidatorsRequest): JsonSafe; fromPartial(object: Partial): QueryValidatorsRequest; fromProtoMsg(message: QueryValidatorsRequestProtoMsg): QueryValidatorsRequest; toProto(message: QueryValidatorsRequest): Uint8Array; toProtoMsg(message: QueryValidatorsRequest): QueryValidatorsRequestProtoMsg; }; export declare const QueryValidatorsResponse: { typeUrl: "/cosmos.staking.v1beta1.QueryValidatorsResponse"; encode(message: QueryValidatorsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorsResponse; fromJSON(object: any): QueryValidatorsResponse; toJSON(message: QueryValidatorsResponse): JsonSafe; fromPartial(object: Partial): QueryValidatorsResponse; fromProtoMsg(message: QueryValidatorsResponseProtoMsg): QueryValidatorsResponse; toProto(message: QueryValidatorsResponse): Uint8Array; toProtoMsg(message: QueryValidatorsResponse): QueryValidatorsResponseProtoMsg; }; export declare const QueryValidatorRequest: { typeUrl: "/cosmos.staking.v1beta1.QueryValidatorRequest"; encode(message: QueryValidatorRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorRequest; fromJSON(object: any): QueryValidatorRequest; toJSON(message: QueryValidatorRequest): JsonSafe; fromPartial(object: Partial): QueryValidatorRequest; fromProtoMsg(message: QueryValidatorRequestProtoMsg): QueryValidatorRequest; toProto(message: QueryValidatorRequest): Uint8Array; toProtoMsg(message: QueryValidatorRequest): QueryValidatorRequestProtoMsg; }; export declare const QueryValidatorResponse: { typeUrl: "/cosmos.staking.v1beta1.QueryValidatorResponse"; encode(message: QueryValidatorResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorResponse; fromJSON(object: any): QueryValidatorResponse; toJSON(message: QueryValidatorResponse): JsonSafe; fromPartial(object: Partial): QueryValidatorResponse; fromProtoMsg(message: QueryValidatorResponseProtoMsg): QueryValidatorResponse; toProto(message: QueryValidatorResponse): Uint8Array; toProtoMsg(message: QueryValidatorResponse): QueryValidatorResponseProtoMsg; }; export declare const QueryValidatorDelegationsRequest: { typeUrl: "/cosmos.staking.v1beta1.QueryValidatorDelegationsRequest"; encode(message: QueryValidatorDelegationsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorDelegationsRequest; fromJSON(object: any): QueryValidatorDelegationsRequest; toJSON(message: QueryValidatorDelegationsRequest): JsonSafe; fromPartial(object: Partial): QueryValidatorDelegationsRequest; fromProtoMsg(message: QueryValidatorDelegationsRequestProtoMsg): QueryValidatorDelegationsRequest; toProto(message: QueryValidatorDelegationsRequest): Uint8Array; toProtoMsg(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestProtoMsg; }; export declare const QueryValidatorDelegationsResponse: { typeUrl: "/cosmos.staking.v1beta1.QueryValidatorDelegationsResponse"; encode(message: QueryValidatorDelegationsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorDelegationsResponse; fromJSON(object: any): QueryValidatorDelegationsResponse; toJSON(message: QueryValidatorDelegationsResponse): JsonSafe; fromPartial(object: Partial): QueryValidatorDelegationsResponse; fromProtoMsg(message: QueryValidatorDelegationsResponseProtoMsg): QueryValidatorDelegationsResponse; toProto(message: QueryValidatorDelegationsResponse): Uint8Array; toProtoMsg(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseProtoMsg; }; export declare const QueryValidatorUnbondingDelegationsRequest: { typeUrl: "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest"; encode(message: QueryValidatorUnbondingDelegationsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsRequest; fromJSON(object: any): QueryValidatorUnbondingDelegationsRequest; toJSON(message: QueryValidatorUnbondingDelegationsRequest): JsonSafe; fromPartial(object: Partial): QueryValidatorUnbondingDelegationsRequest; fromProtoMsg(message: QueryValidatorUnbondingDelegationsRequestProtoMsg): QueryValidatorUnbondingDelegationsRequest; toProto(message: QueryValidatorUnbondingDelegationsRequest): Uint8Array; toProtoMsg(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestProtoMsg; }; export declare const QueryValidatorUnbondingDelegationsResponse: { typeUrl: "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse"; encode(message: QueryValidatorUnbondingDelegationsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse; fromJSON(object: any): QueryValidatorUnbondingDelegationsResponse; toJSON(message: QueryValidatorUnbondingDelegationsResponse): JsonSafe; fromPartial(object: Partial): QueryValidatorUnbondingDelegationsResponse; fromProtoMsg(message: QueryValidatorUnbondingDelegationsResponseProtoMsg): QueryValidatorUnbondingDelegationsResponse; toProto(message: QueryValidatorUnbondingDelegationsResponse): Uint8Array; toProtoMsg(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseProtoMsg; }; export declare const QueryDelegationRequest: { typeUrl: "/cosmos.staking.v1beta1.QueryDelegationRequest"; encode(message: QueryDelegationRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegationRequest; fromJSON(object: any): QueryDelegationRequest; toJSON(message: QueryDelegationRequest): JsonSafe; fromPartial(object: Partial): QueryDelegationRequest; fromProtoMsg(message: QueryDelegationRequestProtoMsg): QueryDelegationRequest; toProto(message: QueryDelegationRequest): Uint8Array; toProtoMsg(message: QueryDelegationRequest): QueryDelegationRequestProtoMsg; }; export declare const QueryDelegationResponse: { typeUrl: "/cosmos.staking.v1beta1.QueryDelegationResponse"; encode(message: QueryDelegationResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegationResponse; fromJSON(object: any): QueryDelegationResponse; toJSON(message: QueryDelegationResponse): JsonSafe; fromPartial(object: Partial): QueryDelegationResponse; fromProtoMsg(message: QueryDelegationResponseProtoMsg): QueryDelegationResponse; toProto(message: QueryDelegationResponse): Uint8Array; toProtoMsg(message: QueryDelegationResponse): QueryDelegationResponseProtoMsg; }; export declare const QueryUnbondingDelegationRequest: { typeUrl: "/cosmos.staking.v1beta1.QueryUnbondingDelegationRequest"; encode(message: QueryUnbondingDelegationRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryUnbondingDelegationRequest; fromJSON(object: any): QueryUnbondingDelegationRequest; toJSON(message: QueryUnbondingDelegationRequest): JsonSafe; fromPartial(object: Partial): QueryUnbondingDelegationRequest; fromProtoMsg(message: QueryUnbondingDelegationRequestProtoMsg): QueryUnbondingDelegationRequest; toProto(message: QueryUnbondingDelegationRequest): Uint8Array; toProtoMsg(message: QueryUnbondingDelegationRequest): QueryUnbondingDelegationRequestProtoMsg; }; export declare const QueryUnbondingDelegationResponse: { typeUrl: "/cosmos.staking.v1beta1.QueryUnbondingDelegationResponse"; encode(message: QueryUnbondingDelegationResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryUnbondingDelegationResponse; fromJSON(object: any): QueryUnbondingDelegationResponse; toJSON(message: QueryUnbondingDelegationResponse): JsonSafe; fromPartial(object: Partial): QueryUnbondingDelegationResponse; fromProtoMsg(message: QueryUnbondingDelegationResponseProtoMsg): QueryUnbondingDelegationResponse; toProto(message: QueryUnbondingDelegationResponse): Uint8Array; toProtoMsg(message: QueryUnbondingDelegationResponse): QueryUnbondingDelegationResponseProtoMsg; }; export declare const QueryDelegatorDelegationsRequest: { typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest"; encode(message: QueryDelegatorDelegationsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorDelegationsRequest; fromJSON(object: any): QueryDelegatorDelegationsRequest; toJSON(message: QueryDelegatorDelegationsRequest): JsonSafe; fromPartial(object: Partial): QueryDelegatorDelegationsRequest; fromProtoMsg(message: QueryDelegatorDelegationsRequestProtoMsg): QueryDelegatorDelegationsRequest; toProto(message: QueryDelegatorDelegationsRequest): Uint8Array; toProtoMsg(message: QueryDelegatorDelegationsRequest): QueryDelegatorDelegationsRequestProtoMsg; }; export declare const QueryDelegatorDelegationsResponse: { typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse"; encode(message: QueryDelegatorDelegationsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorDelegationsResponse; fromJSON(object: any): QueryDelegatorDelegationsResponse; toJSON(message: QueryDelegatorDelegationsResponse): JsonSafe; fromPartial(object: Partial): QueryDelegatorDelegationsResponse; fromProtoMsg(message: QueryDelegatorDelegationsResponseProtoMsg): QueryDelegatorDelegationsResponse; toProto(message: QueryDelegatorDelegationsResponse): Uint8Array; toProtoMsg(message: QueryDelegatorDelegationsResponse): QueryDelegatorDelegationsResponseProtoMsg; }; export declare const QueryDelegatorUnbondingDelegationsRequest: { typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest"; encode(message: QueryDelegatorUnbondingDelegationsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsRequest; fromJSON(object: any): QueryDelegatorUnbondingDelegationsRequest; toJSON(message: QueryDelegatorUnbondingDelegationsRequest): JsonSafe; fromPartial(object: Partial): QueryDelegatorUnbondingDelegationsRequest; fromProtoMsg(message: QueryDelegatorUnbondingDelegationsRequestProtoMsg): QueryDelegatorUnbondingDelegationsRequest; toProto(message: QueryDelegatorUnbondingDelegationsRequest): Uint8Array; toProtoMsg(message: QueryDelegatorUnbondingDelegationsRequest): QueryDelegatorUnbondingDelegationsRequestProtoMsg; }; export declare const QueryDelegatorUnbondingDelegationsResponse: { typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse"; encode(message: QueryDelegatorUnbondingDelegationsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponse; fromJSON(object: any): QueryDelegatorUnbondingDelegationsResponse; toJSON(message: QueryDelegatorUnbondingDelegationsResponse): JsonSafe; fromPartial(object: Partial): QueryDelegatorUnbondingDelegationsResponse; fromProtoMsg(message: QueryDelegatorUnbondingDelegationsResponseProtoMsg): QueryDelegatorUnbondingDelegationsResponse; toProto(message: QueryDelegatorUnbondingDelegationsResponse): Uint8Array; toProtoMsg(message: QueryDelegatorUnbondingDelegationsResponse): QueryDelegatorUnbondingDelegationsResponseProtoMsg; }; export declare const QueryRedelegationsRequest: { typeUrl: "/cosmos.staking.v1beta1.QueryRedelegationsRequest"; encode(message: QueryRedelegationsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryRedelegationsRequest; fromJSON(object: any): QueryRedelegationsRequest; toJSON(message: QueryRedelegationsRequest): JsonSafe; fromPartial(object: Partial): QueryRedelegationsRequest; fromProtoMsg(message: QueryRedelegationsRequestProtoMsg): QueryRedelegationsRequest; toProto(message: QueryRedelegationsRequest): Uint8Array; toProtoMsg(message: QueryRedelegationsRequest): QueryRedelegationsRequestProtoMsg; }; export declare const QueryRedelegationsResponse: { typeUrl: "/cosmos.staking.v1beta1.QueryRedelegationsResponse"; encode(message: QueryRedelegationsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryRedelegationsResponse; fromJSON(object: any): QueryRedelegationsResponse; toJSON(message: QueryRedelegationsResponse): JsonSafe; fromPartial(object: Partial): QueryRedelegationsResponse; fromProtoMsg(message: QueryRedelegationsResponseProtoMsg): QueryRedelegationsResponse; toProto(message: QueryRedelegationsResponse): Uint8Array; toProtoMsg(message: QueryRedelegationsResponse): QueryRedelegationsResponseProtoMsg; }; export declare const QueryDelegatorValidatorsRequest: { typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest"; encode(message: QueryDelegatorValidatorsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest; fromJSON(object: any): QueryDelegatorValidatorsRequest; toJSON(message: QueryDelegatorValidatorsRequest): JsonSafe; fromPartial(object: Partial): QueryDelegatorValidatorsRequest; fromProtoMsg(message: QueryDelegatorValidatorsRequestProtoMsg): QueryDelegatorValidatorsRequest; toProto(message: QueryDelegatorValidatorsRequest): Uint8Array; toProtoMsg(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestProtoMsg; }; export declare const QueryDelegatorValidatorsResponse: { typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse"; encode(message: QueryDelegatorValidatorsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse; fromJSON(object: any): QueryDelegatorValidatorsResponse; toJSON(message: QueryDelegatorValidatorsResponse): JsonSafe; fromPartial(object: Partial): QueryDelegatorValidatorsResponse; fromProtoMsg(message: QueryDelegatorValidatorsResponseProtoMsg): QueryDelegatorValidatorsResponse; toProto(message: QueryDelegatorValidatorsResponse): Uint8Array; toProtoMsg(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseProtoMsg; }; export declare const QueryDelegatorValidatorRequest: { typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorRequest"; encode(message: QueryDelegatorValidatorRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorValidatorRequest; fromJSON(object: any): QueryDelegatorValidatorRequest; toJSON(message: QueryDelegatorValidatorRequest): JsonSafe; fromPartial(object: Partial): QueryDelegatorValidatorRequest; fromProtoMsg(message: QueryDelegatorValidatorRequestProtoMsg): QueryDelegatorValidatorRequest; toProto(message: QueryDelegatorValidatorRequest): Uint8Array; toProtoMsg(message: QueryDelegatorValidatorRequest): QueryDelegatorValidatorRequestProtoMsg; }; export declare const QueryDelegatorValidatorResponse: { typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorResponse"; encode(message: QueryDelegatorValidatorResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorValidatorResponse; fromJSON(object: any): QueryDelegatorValidatorResponse; toJSON(message: QueryDelegatorValidatorResponse): JsonSafe; fromPartial(object: Partial): QueryDelegatorValidatorResponse; fromProtoMsg(message: QueryDelegatorValidatorResponseProtoMsg): QueryDelegatorValidatorResponse; toProto(message: QueryDelegatorValidatorResponse): Uint8Array; toProtoMsg(message: QueryDelegatorValidatorResponse): QueryDelegatorValidatorResponseProtoMsg; }; export declare const QueryHistoricalInfoRequest: { typeUrl: "/cosmos.staking.v1beta1.QueryHistoricalInfoRequest"; encode(message: QueryHistoricalInfoRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryHistoricalInfoRequest; fromJSON(object: any): QueryHistoricalInfoRequest; toJSON(message: QueryHistoricalInfoRequest): JsonSafe; fromPartial(object: Partial): QueryHistoricalInfoRequest; fromProtoMsg(message: QueryHistoricalInfoRequestProtoMsg): QueryHistoricalInfoRequest; toProto(message: QueryHistoricalInfoRequest): Uint8Array; toProtoMsg(message: QueryHistoricalInfoRequest): QueryHistoricalInfoRequestProtoMsg; }; export declare const QueryHistoricalInfoResponse: { typeUrl: "/cosmos.staking.v1beta1.QueryHistoricalInfoResponse"; encode(message: QueryHistoricalInfoResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryHistoricalInfoResponse; fromJSON(object: any): QueryHistoricalInfoResponse; toJSON(message: QueryHistoricalInfoResponse): JsonSafe; fromPartial(object: Partial): QueryHistoricalInfoResponse; fromProtoMsg(message: QueryHistoricalInfoResponseProtoMsg): QueryHistoricalInfoResponse; toProto(message: QueryHistoricalInfoResponse): Uint8Array; toProtoMsg(message: QueryHistoricalInfoResponse): QueryHistoricalInfoResponseProtoMsg; }; export declare const QueryPoolRequest: { typeUrl: "/cosmos.staking.v1beta1.QueryPoolRequest"; encode(_: QueryPoolRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryPoolRequest; fromJSON(_: any): QueryPoolRequest; toJSON(_: QueryPoolRequest): JsonSafe; fromPartial(_: Partial): QueryPoolRequest; fromProtoMsg(message: QueryPoolRequestProtoMsg): QueryPoolRequest; toProto(message: QueryPoolRequest): Uint8Array; toProtoMsg(message: QueryPoolRequest): QueryPoolRequestProtoMsg; }; export declare const QueryPoolResponse: { typeUrl: "/cosmos.staking.v1beta1.QueryPoolResponse"; encode(message: QueryPoolResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryPoolResponse; fromJSON(object: any): QueryPoolResponse; toJSON(message: QueryPoolResponse): JsonSafe; fromPartial(object: Partial): QueryPoolResponse; fromProtoMsg(message: QueryPoolResponseProtoMsg): QueryPoolResponse; toProto(message: QueryPoolResponse): Uint8Array; toProtoMsg(message: QueryPoolResponse): QueryPoolResponseProtoMsg; }; export declare const QueryParamsRequest: { typeUrl: "/cosmos.staking.v1beta1.QueryParamsRequest"; encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; fromJSON(_: any): QueryParamsRequest; toJSON(_: QueryParamsRequest): JsonSafe; fromPartial(_: Partial): QueryParamsRequest; fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; toProto(message: QueryParamsRequest): Uint8Array; toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; }; export declare const QueryParamsResponse: { typeUrl: "/cosmos.staking.v1beta1.QueryParamsResponse"; encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; fromJSON(object: any): QueryParamsResponse; toJSON(message: QueryParamsResponse): JsonSafe; fromPartial(object: Partial): QueryParamsResponse; fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; toProto(message: QueryParamsResponse): Uint8Array; toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; }; //# sourceMappingURL=query.d.ts.map