/** * This file and any referenced files were automatically generated by @cosmology/telescope@1.12.19 * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain * and run the transpile command or npm scripts command that is used to regenerate this bundle. */ import { HttpEndpoint } from "@interchainjs/types"; import { BinaryReader, BinaryWriter } from "./binary"; import { Rpc } from "./helpers"; import { TelescopeGeneratedCodec, DeliverTxResponse, StdFee } from "./types"; import { ISigningClient } from "@interchainjs/cosmos/types/signing-client"; export interface QueryBuilderOptions { encode: (request: TReq, writer?: BinaryWriter) => BinaryWriter; decode: (input: BinaryReader | Uint8Array, length?: number) => TRes; service: string; method: string; } export declare function buildQuery(opts: QueryBuilderOptions): (client: EndpointOrRpc, request: TReq) => Promise; export interface ITxArgs { signerAddress: string; message: TMsg | TMsg[]; fee: StdFee | 'auto'; memo: string; } export interface TxBuilderOptions { msg: TelescopeGeneratedCodec; } export declare function buildTx(opts: TxBuilderOptions): (client: ISigningClient, signerAddress: string, message: TMsg | TMsg[], fee: StdFee | "auto", memo: string) => Promise; export interface Encoder { typeUrl: string; fromPartial: (data: any) => any; encode: (data: any) => Uint8Array; } export interface AminoConverter { typeUrl: string; aminoType: string; fromAmino: (data: any) => any; toAmino: (data: any) => any; } export type EndpointOrRpc = string | HttpEndpoint | Rpc;