import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * GenesisState defines the packetforward genesis state * * @generated from message ibc.applications.packet_forward_middleware.v1.GenesisState */ export declare class GenesisState extends Message { /** * key - information about forwarded packet: src_channel * (parsedReceiver.Channel), src_port (parsedReceiver.Port), sequence value - * information about original packet for refunding if necessary: retries, * srcPacketSender, srcPacket.DestinationChannel, srcPacket.DestinationPort * * @generated from field: map in_flight_packets = 2; */ inFlightPackets: { [key: string]: InFlightPacket; }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.packet_forward_middleware.v1.GenesisState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GenesisState; static fromJson(jsonValue: JsonValue, options?: Partial): GenesisState; static fromJsonString(jsonString: string, options?: Partial): GenesisState; static equals(a: GenesisState | PlainMessage | undefined, b: GenesisState | PlainMessage | undefined): boolean; } /** * InFlightPacket contains information about original packet for * writing the acknowledgement and refunding if necessary. * * @generated from message ibc.applications.packet_forward_middleware.v1.InFlightPacket */ export declare class InFlightPacket extends Message { /** * @generated from field: string original_sender_address = 1; */ originalSenderAddress: string; /** * @generated from field: string refund_channel_id = 2; */ refundChannelId: string; /** * @generated from field: string refund_port_id = 3; */ refundPortId: string; /** * @generated from field: string packet_src_channel_id = 4; */ packetSrcChannelId: string; /** * @generated from field: string packet_src_port_id = 5; */ packetSrcPortId: string; /** * @generated from field: uint64 packet_timeout_timestamp = 6; */ packetTimeoutTimestamp: bigint; /** * @generated from field: string packet_timeout_height = 7; */ packetTimeoutHeight: string; /** * @generated from field: bytes packet_data = 8; */ packetData: Uint8Array; /** * @generated from field: uint64 refund_sequence = 9; */ refundSequence: bigint; /** * @generated from field: int32 retries_remaining = 10; */ retriesRemaining: number; /** * @generated from field: uint64 timeout = 11; */ timeout: bigint; /** * @generated from field: bool nonrefundable = 12; */ nonrefundable: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.applications.packet_forward_middleware.v1.InFlightPacket"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): InFlightPacket; static fromJson(jsonValue: JsonValue, options?: Partial): InFlightPacket; static fromJsonString(jsonString: string, options?: Partial): InFlightPacket; static equals(a: InFlightPacket | PlainMessage | undefined, b: InFlightPacket | PlainMessage | undefined): boolean; } //# sourceMappingURL=genesis_pb.d.ts.map