/**
 * This code was AUTOGENERATED using the Codama library.
 * Please DO NOT EDIT THIS FILE, instead use visitors
 * to add features, then rerun Codama to update it.
 *
 * @see https://github.com/codama-idl/codama
 */
import { combineCodec, getBooleanDecoder, getBooleanEncoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, } from "@solana/kit";
export function getUsedNonceCloseInfoEncoder() {
    return getStructEncoder([
        ["canCloseAfter", getU64Encoder()],
        ["canCloseNow", getBooleanEncoder()],
    ]);
}
export function getUsedNonceCloseInfoDecoder() {
    return getStructDecoder([
        ["canCloseAfter", getU64Decoder()],
        ["canCloseNow", getBooleanDecoder()],
    ]);
}
export function getUsedNonceCloseInfoCodec() {
    return combineCodec(getUsedNonceCloseInfoEncoder(), getUsedNonceCloseInfoDecoder());
}
//# sourceMappingURL=usedNonceCloseInfo.js.map