import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * Token defines a struct which represents a token to be transferred. * * @generated from message ibc.applications.transfer.v1.Token */ export declare class Token extends Message { /** * the token denomination * * @generated from field: ibc.applications.transfer.v1.Denom denom = 1; */ denom?: Denom; /** * the token amount to be transferred * * @generated from field: string amount = 2; */ amount: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.transfer.v1.Token"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Token; static fromJson(jsonValue: JsonValue, options?: Partial): Token; static fromJsonString(jsonString: string, options?: Partial): Token; static equals(a: Token | PlainMessage | undefined, b: Token | PlainMessage | undefined): boolean; } /** * Denom holds the base denom of a Token and a trace of the chains it was sent through. * * @generated from message ibc.applications.transfer.v1.Denom */ export declare class Denom extends Message { /** * the base token denomination * * @generated from field: string base = 1; */ base: string; /** * the trace of the token * * @generated from field: repeated ibc.applications.transfer.v1.Hop trace = 3; */ trace: Hop[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.transfer.v1.Denom"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Denom; static fromJson(jsonValue: JsonValue, options?: Partial): Denom; static fromJsonString(jsonString: string, options?: Partial): Denom; static equals(a: Denom | PlainMessage | undefined, b: Denom | PlainMessage | undefined): boolean; } /** * Hop defines a port ID, channel ID pair specifying a unique "hop" in a trace * * @generated from message ibc.applications.transfer.v1.Hop */ export declare class Hop extends Message { /** * @generated from field: string port_id = 1; */ portId: string; /** * @generated from field: string channel_id = 2; */ channelId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.transfer.v1.Hop"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Hop; static fromJson(jsonValue: JsonValue, options?: Partial): Hop; static fromJsonString(jsonString: string, options?: Partial): Hop; static equals(a: Hop | PlainMessage | undefined, b: Hop | PlainMessage | undefined): boolean; } //# sourceMappingURL=token_pb.d.ts.map