import { AminoConverters } from "@cosmjs/stargate"; import { AminoTypes } from "../../aminotypes"; /** * Contains the data of a single converter test. */ export interface ConverterTestData { readonly name: string; readonly typeUrl: string; readonly msg: T; readonly expectedJsonSerialized: string; readonly testToProtobuf?: boolean; } /** * Contains the data of a single broadcast test. */ export interface BroadcastTest { readonly name?: string; readonly typeUrl: string; readonly message: any; readonly signer: string; } /** * Runs the conversion test for the given {@param data}, using the provided {@param converters}. */ export declare function runConverterTest(converters: AminoConverters, data: ConverterTestData): () => Promise; /** * Runs the conversion test for the given {@param data}, using the provided {@param aminoTypes}. */ export declare function runAminoTypesTest(aminoTypes: AminoTypes, data: ConverterTestData): () => Promise; export declare function runBroadcastTest(test: BroadcastTest): void;