import { buildUseVueQuery } from "../../../../vue-query";
import { getNextSequenceSend, getPacketCommitment, getPacketCommitments, getPacketAcknowledgement, getPacketAcknowledgements, getPacketReceipt, getUnreceivedPackets, getUnreceivedAcks } from "./query.rpc.func";
/**
 * NextSequenceSend returns the next send sequence for a given channel.
 * @name useGetNextSequenceSend
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.NextSequenceSend
 */
export const useGetNextSequenceSend = buildUseVueQuery({
    builderQueryFn: getNextSequenceSend,
    queryKeyPrefix: "NextSequenceSendQuery"
});
/**
 * PacketCommitment queries a stored packet commitment hash.
 * @name useGetPacketCommitment
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.PacketCommitment
 */
export const useGetPacketCommitment = buildUseVueQuery({
    builderQueryFn: getPacketCommitment,
    queryKeyPrefix: "PacketCommitmentQuery"
});
/**
 * PacketCommitments queries a stored packet commitment hash.
 * @name useGetPacketCommitments
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.PacketCommitments
 */
export const useGetPacketCommitments = buildUseVueQuery({
    builderQueryFn: getPacketCommitments,
    queryKeyPrefix: "PacketCommitmentsQuery"
});
/**
 * PacketAcknowledgement queries a stored acknowledgement commitment hash.
 * @name useGetPacketAcknowledgement
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.PacketAcknowledgement
 */
export const useGetPacketAcknowledgement = buildUseVueQuery({
    builderQueryFn: getPacketAcknowledgement,
    queryKeyPrefix: "PacketAcknowledgementQuery"
});
/**
 * PacketAcknowledgements returns all packet acknowledgements associated with a channel.
 * @name useGetPacketAcknowledgements
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.PacketAcknowledgements
 */
export const useGetPacketAcknowledgements = buildUseVueQuery({
    builderQueryFn: getPacketAcknowledgements,
    queryKeyPrefix: "PacketAcknowledgementsQuery"
});
/**
 * PacketReceipt queries a stored packet receipt.
 * @name useGetPacketReceipt
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.PacketReceipt
 */
export const useGetPacketReceipt = buildUseVueQuery({
    builderQueryFn: getPacketReceipt,
    queryKeyPrefix: "PacketReceiptQuery"
});
/**
 * UnreceivedPackets returns all the unreceived IBC packets associated with a channel and sequences.
 * @name useGetUnreceivedPackets
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.UnreceivedPackets
 */
export const useGetUnreceivedPackets = buildUseVueQuery({
    builderQueryFn: getUnreceivedPackets,
    queryKeyPrefix: "UnreceivedPacketsQuery"
});
/**
 * UnreceivedAcks returns all the unreceived IBC acknowledgements associated with a channel and sequences.
 * @name useGetUnreceivedAcks
 * @package ibc.core.channel.v2
 * @see proto service: ibc.core.channel.v2.UnreceivedAcks
 */
export const useGetUnreceivedAcks = buildUseVueQuery({
    builderQueryFn: getUnreceivedAcks,
    queryKeyPrefix: "UnreceivedAcksQuery"
});
