import { Params, ParamsSDKType } from "./mint"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { TxRpc } from "../../../types"; import { QueryClient } from "@cosmjs/stargate"; export declare const protobufPackage = "cosmos.mint.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 defines the parameters of the module. */ params: Params | undefined; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponseSDKType { params: ParamsSDKType | undefined; } /** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ export interface QueryInflationRequest { } /** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ export interface QueryInflationRequestSDKType { } /** * QueryInflationResponse is the response type for the Query/Inflation RPC * method. */ export interface QueryInflationResponse { /** inflation is the current minting inflation value. */ inflation: Uint8Array; } /** * QueryInflationResponse is the response type for the Query/Inflation RPC * method. */ export interface QueryInflationResponseSDKType { inflation: Uint8Array; } /** * QueryAnnualProvisionsRequest is the request type for the * Query/AnnualProvisions RPC method. */ export interface QueryAnnualProvisionsRequest { } /** * QueryAnnualProvisionsRequest is the request type for the * Query/AnnualProvisions RPC method. */ export interface QueryAnnualProvisionsRequestSDKType { } /** * QueryAnnualProvisionsResponse is the response type for the * Query/AnnualProvisions RPC method. */ export interface QueryAnnualProvisionsResponse { /** annual_provisions is the current minting annual provisions value. */ annualProvisions: Uint8Array; } /** * QueryAnnualProvisionsResponse is the response type for the * Query/AnnualProvisions RPC method. */ export interface QueryAnnualProvisionsResponseSDKType { annual_provisions: Uint8Array; } 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 & { mintDenom: string; inflationRateChange: string; inflationMax: string; inflationMin: string; goalBonded: string; blocksPerYear: bigint; } & Record, never>; } & Record, never>>(object: I): QueryParamsResponse; }; export declare const QueryInflationRequest: { typeUrl: string; encode(_: QueryInflationRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryInflationRequest; fromJSON(_: any): QueryInflationRequest; toJSON(_: QueryInflationRequest): unknown; fromPartial & {} & Record, never>>(_: I): QueryInflationRequest; }; export declare const QueryInflationResponse: { typeUrl: string; encode(message: QueryInflationResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryInflationResponse; fromJSON(object: any): QueryInflationResponse; toJSON(message: QueryInflationResponse): unknown; fromPartial & { inflation?: Uint8Array; } & Record, never>>(object: I): QueryInflationResponse; }; export declare const QueryAnnualProvisionsRequest: { typeUrl: string; encode(_: QueryAnnualProvisionsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryAnnualProvisionsRequest; fromJSON(_: any): QueryAnnualProvisionsRequest; toJSON(_: QueryAnnualProvisionsRequest): unknown; fromPartial & {} & Record, never>>(_: I): QueryAnnualProvisionsRequest; }; export declare const QueryAnnualProvisionsResponse: { typeUrl: string; encode(message: QueryAnnualProvisionsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryAnnualProvisionsResponse; fromJSON(object: any): QueryAnnualProvisionsResponse; toJSON(message: QueryAnnualProvisionsResponse): unknown; fromPartial & { annualProvisions?: Uint8Array; } & Record, never>>(object: I): QueryAnnualProvisionsResponse; }; /** Query provides defines the gRPC querier service. */ export interface Query { /** Params returns the total set of minting parameters. */ Params(request?: QueryParamsRequest): Promise; /** Inflation returns the current minting inflation value. */ Inflation(request?: QueryInflationRequest): Promise; /** AnnualProvisions current minting annual provisions value. */ AnnualProvisions(request?: QueryAnnualProvisionsRequest): Promise; } export declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: TxRpc); Params(request?: QueryParamsRequest): Promise; Inflation(request?: QueryInflationRequest): Promise; AnnualProvisions(request?: QueryAnnualProvisionsRequest): Promise; } export declare const createRpcQueryExtension: (base: QueryClient) => { Params(request?: QueryParamsRequest): Promise; Inflation(request?: QueryInflationRequest): Promise; AnnualProvisions(request?: QueryAnnualProvisionsRequest): Promise; };