import { Params } from './mint'; import Long from 'long'; import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "cosmos.mint.v1beta1"; /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequest { $type: 'cosmos.mint.v1beta1.QueryParamsRequest'; } /** QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface QueryParamsResponse { $type: 'cosmos.mint.v1beta1.QueryParamsResponse'; /** params defines the parameters of the module. */ params?: Params; } /** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ export interface QueryInflationRequest { $type: 'cosmos.mint.v1beta1.QueryInflationRequest'; } /** * QueryInflationResponse is the response type for the Query/Inflation RPC * method. */ export interface QueryInflationResponse { $type: 'cosmos.mint.v1beta1.QueryInflationResponse'; /** inflation is the current minting inflation value. */ inflation: Uint8Array; } /** * QueryAnnualProvisionsRequest is the request type for the * Query/AnnualProvisions RPC method. */ export interface QueryAnnualProvisionsRequest { $type: 'cosmos.mint.v1beta1.QueryAnnualProvisionsRequest'; } /** * QueryAnnualProvisionsResponse is the response type for the * Query/AnnualProvisions RPC method. */ export interface QueryAnnualProvisionsResponse { $type: 'cosmos.mint.v1beta1.QueryAnnualProvisionsResponse'; /** annual_provisions is the current minting annual provisions value. */ annualProvisions: Uint8Array; } export declare const QueryParamsRequest: { $type: "cosmos.mint.v1beta1.QueryParamsRequest"; encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; fromJSON(_: any): QueryParamsRequest; toJSON(_: QueryParamsRequest): unknown; fromPartial]: never; }>(_: I): QueryParamsRequest; }; export declare const QueryParamsResponse: { $type: "cosmos.mint.v1beta1.QueryParamsResponse"; encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; fromJSON(object: any): QueryParamsResponse; toJSON(message: QueryParamsResponse): unknown; fromPartial Long.Long; and: (other: string | number | Long.Long) => Long.Long; compare: (other: string | number | Long.Long) => number; comp: (other: string | number | Long.Long) => number; divide: (divisor: string | number | Long.Long) => Long.Long; div: (divisor: string | number | Long.Long) => Long.Long; equals: (other: string | number | Long.Long) => boolean; eq: (other: string | number | Long.Long) => boolean; getHighBits: () => number; getHighBitsUnsigned: () => number; getLowBits: () => number; getLowBitsUnsigned: () => number; getNumBitsAbs: () => number; greaterThan: (other: string | number | Long.Long) => boolean; gt: (other: string | number | Long.Long) => boolean; greaterThanOrEqual: (other: string | number | Long.Long) => boolean; gte: (other: string | number | Long.Long) => boolean; isEven: () => boolean; isNegative: () => boolean; isOdd: () => boolean; isPositive: () => boolean; isZero: () => boolean; lessThan: (other: string | number | Long.Long) => boolean; lt: (other: string | number | Long.Long) => boolean; lessThanOrEqual: (other: string | number | Long.Long) => boolean; lte: (other: string | number | Long.Long) => boolean; modulo: (other: string | number | Long.Long) => Long.Long; mod: (other: string | number | Long.Long) => Long.Long; multiply: (multiplier: string | number | Long.Long) => Long.Long; mul: (multiplier: string | number | Long.Long) => Long.Long; negate: () => Long.Long; neg: () => Long.Long; not: () => Long.Long; notEquals: (other: string | number | Long.Long) => boolean; neq: (other: string | number | Long.Long) => boolean; or: (other: string | number | Long.Long) => Long.Long; shiftLeft: (numBits: number | Long.Long) => Long.Long; shl: (numBits: number | Long.Long) => Long.Long; shiftRight: (numBits: number | Long.Long) => Long.Long; shr: (numBits: number | Long.Long) => Long.Long; shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long; shru: (numBits: number | Long.Long) => Long.Long; subtract: (subtrahend: string | number | Long.Long) => Long.Long; sub: (subtrahend: string | number | Long.Long) => Long.Long; toInt: () => number; toNumber: () => number; toBytes: (le?: boolean | undefined) => number[]; toBytesLE: () => number[]; toBytesBE: () => number[]; toSigned: () => Long.Long; toString: (radix?: number | undefined) => string; toUnsigned: () => Long.Long; xor: (other: string | number | Long.Long) => Long.Long; } & { [K in Exclude]: never; }) | undefined; } & { [K_1 in Exclude]: never; }) | undefined; } & { [K_2 in Exclude]: never; }>(object: I): QueryParamsResponse; }; export declare const QueryInflationRequest: { $type: "cosmos.mint.v1beta1.QueryInflationRequest"; encode(_: QueryInflationRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationRequest; fromJSON(_: any): QueryInflationRequest; toJSON(_: QueryInflationRequest): unknown; fromPartial]: never; }>(_: I): QueryInflationRequest; }; export declare const QueryInflationResponse: { $type: "cosmos.mint.v1beta1.QueryInflationResponse"; encode(message: QueryInflationResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponse; fromJSON(object: any): QueryInflationResponse; toJSON(message: QueryInflationResponse): unknown; fromPartial]: never; }>(object: I): QueryInflationResponse; }; export declare const QueryAnnualProvisionsRequest: { $type: "cosmos.mint.v1beta1.QueryAnnualProvisionsRequest"; encode(_: QueryAnnualProvisionsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsRequest; fromJSON(_: any): QueryAnnualProvisionsRequest; toJSON(_: QueryAnnualProvisionsRequest): unknown; fromPartial]: never; }>(_: I): QueryAnnualProvisionsRequest; }; export declare const QueryAnnualProvisionsResponse: { $type: "cosmos.mint.v1beta1.QueryAnnualProvisionsResponse"; encode(message: QueryAnnualProvisionsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponse; fromJSON(object: any): QueryAnnualProvisionsResponse; toJSON(message: QueryAnnualProvisionsResponse): unknown; fromPartial]: 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: Rpc); Params(request: QueryParamsRequest): Promise; Inflation(request: QueryInflationRequest): Promise; AnnualProvisions(request: QueryAnnualProvisionsRequest): Promise; } interface Rpc { request(service: string, method: string, data: Uint8Array): Promise; } declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export declare type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in Exclude]?: DeepPartial; } : Partial; declare type KeysOfUnion = T extends T ? keyof T : never; export declare type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude | '$type'>]: never; }; export {};