import { DecCoin } from "@shareledgerjs/types/cosmos/base/v1beta1/coin"; import { ValidatorAccumulatedCommission, ValidatorOutstandingRewards } from "@shareledgerjs/types/cosmos/distribution/v1beta1/distribution"; import { QueryDelegationTotalRewardsResponse, QueryValidatorSlashesResponse } from "@shareledgerjs/types/cosmos/distribution/v1beta1/query"; import { BaseClient } from "../../baseclient"; export interface DistributionQueryExtensionMethods { communityPool(height?: number): Promise; delegationRewards(delegatorAddress: string, validatorAddress: string, height?: number): Promise; delegationTotalRewards(delegatorAddress: string, height?: number): Promise; delegatorValidators(delegatorAddress: string, height?: number): Promise; delegatorWithdrawAddress(delegatorAddress: string, height?: number): Promise; validatorCommission(validatorAddress: string, height?: number): Promise; validatorOutstandingRewards(validatorAddress: string, height?: number): Promise; validatorSlashes(validatorAddress: string, startingHeight: number, endingHeight: number, paginationKey?: Uint8Array, height?: number): Promise; } export interface DistributionQueryExtension { readonly distribution: DistributionQueryExtensionMethods; } export declare function DistributionQueryExtension(constructor: T): T;