import { BinaryReader, BinaryWriter } from "../../../../binary";
/**
* Metadata defines the ICS29 channel specific metadata encoded into the channel version bytestring
* See ICS004: https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#Versioning
*/
export interface Metadata {
/** fee_version defines the ICS29 fee version */
feeVersion: string;
/** app_version defines the underlying application version, which may or may not be a JSON encoded bytestring */
appVersion: string;
}
export interface MetadataProtoMsg {
typeUrl: "/ibc.applications.fee.v1.Metadata";
value: Uint8Array;
}
/**
* Metadata defines the ICS29 channel specific metadata encoded into the channel version bytestring
* See ICS004: https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#Versioning
*/
export interface MetadataAmino {
/** fee_version defines the ICS29 fee version */
fee_version?: string;
/** app_version defines the underlying application version, which may or may not be a JSON encoded bytestring */
app_version?: string;
}
export interface MetadataAminoMsg {
type: "cosmos-sdk/Metadata";
value: MetadataAmino;
}
/**
* Metadata defines the ICS29 channel specific metadata encoded into the channel version bytestring
* See ICS004: https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#Versioning
*/
export interface MetadataSDKType {
fee_version: string;
app_version: string;
}
export declare const Metadata: {
typeUrl: string;
aminoType: string;
is(o: any): o is Metadata;
isSDK(o: any): o is MetadataSDKType;
isAmino(o: any): o is MetadataAmino;
encode(message: Metadata, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): Metadata;
fromPartial(object: Partial<Metadata>): Metadata;
fromAmino(object: MetadataAmino): Metadata;
toAmino(message: Metadata): MetadataAmino;
fromAminoMsg(object: MetadataAminoMsg): Metadata;
toAminoMsg(message: Metadata): MetadataAminoMsg;
fromProtoMsg(message: MetadataProtoMsg): Metadata;
toProto(message: Metadata): Uint8Array;
toProtoMsg(message: Metadata): MetadataProtoMsg;
};