/**
 * 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, getAddressDecoder, getAddressEncoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, } from "@solana/kit";
export function getMintAndWithdrawEncoder() {
    return getStructEncoder([
        ["mintRecipient", getAddressEncoder()],
        ["amount", getU64Encoder()],
        ["mintToken", getAddressEncoder()],
    ]);
}
export function getMintAndWithdrawDecoder() {
    return getStructDecoder([
        ["mintRecipient", getAddressDecoder()],
        ["amount", getU64Decoder()],
        ["mintToken", getAddressDecoder()],
    ]);
}
export function getMintAndWithdrawCodec() {
    return combineCodec(getMintAndWithdrawEncoder(), getMintAndWithdrawDecoder());
}
//# sourceMappingURL=mintAndWithdraw.js.map