import { PageResponse } from "@shareledgerjs/types/cosmos/base/query/v1beta1/pagination"; import { BasicAllowance, PeriodicAllowance } from "@shareledgerjs/types/cosmos/feegrant/v1beta1/feegrant"; import { BaseClient } from "../../baseclient"; export type Allowance = { granter: string; grantee: string; allowance?: BasicAllowance | PeriodicAllowance; }; export type AllowancesResponse = { allowances: Allowance[]; pagination?: PageResponse; }; export interface FeegrantQueryExtensionMethods { allowance(grantee: string, granter: string, height?: number): Promise; allowances(grantee: string, paginationKey?: Uint8Array, height?: number): Promise; allowancesByGranter(granter: string, paginationKey?: Uint8Array, height?: number): Promise; } export interface FeegrantQueryExtension { readonly feegrant: FeegrantQueryExtensionMethods; } export declare function FeegrantQueryExtension(constructor: T): T;