import { GetLatestValidatorSetResponse, GetValidatorSetByHeightResponse } from "@shareledgerjs/types/cosmos/base/tendermint/v1beta1/query"; import { QueryDelegatorDelegationsResponse, QueryDelegatorUnbondingDelegationsResponse, QueryDelegatorValidatorsResponse, QueryRedelegationsResponse, QueryValidatorDelegationsResponse, QueryValidatorsResponse, QueryValidatorUnbondingDelegationsResponse } from "@shareledgerjs/types/cosmos/staking/v1beta1/query"; import { BondStatus, DelegationResponse, HistoricalInfo, Params, Pool, UnbondingDelegation, Validator } from "@shareledgerjs/types/cosmos/staking/v1beta1/staking"; import Long from "long"; import { BaseClient } from "../../baseclient"; export type BondStatusString = keyof Pick | ""; export interface StakingQueryExtensionMethods { delegation(delegatorAddress: string, validatorAddress: string, height?: number): Promise; delegatorDelegations(delegatorAddress: string, paginationKey?: Uint8Array, height?: number): Promise; delegatorUnbondingDelegations(delegatorAddress: string, paginationKey?: Uint8Array, height?: number): Promise; delegatorValidator(delegatorAddress: string, validatorAddress: string, height?: number): Promise; delegatorValidators(delegatorAddress: string, paginationKey?: Uint8Array, height?: number): Promise; historicalInfo(height: number): Promise; pool(height?: number): Promise; redelegations(delegatorAddress: string, sourceValidatorAddress: string, destinationValidatorAddress: string, paginationKey?: Uint8Array, height?: number): Promise; unbondingDelegation(delegatorAddress: string, validatorAddress: string, height?: number): Promise; validator(validatorAddress: string, height?: number): Promise; validatorDelegations(validatorAddress: string, paginationKey?: Uint8Array, height?: number): Promise; validators(status: BondStatusString, paginationKey?: Uint8Array, height?: number): Promise; validatorUnbondingDelegations(validatorAddress: string, paginationKey?: Uint8Array, height?: number): Promise; validatorSetByHeight(height: Long, paginationKey?: Uint8Array): Promise; latestValidatorSet(paginationKey?: Uint8Array): Promise; params(height?: number): Promise; } export interface StakingQueryExtension { readonly staking: StakingQueryExtensionMethods; } export declare function StakingQueryExtension(constructor: T): T;