/**
 * 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, getU32Decoder, getU32Encoder, } from "@solana/kit";
export function getTokenPairUnlinkedEncoder() {
    return getStructEncoder([
        ["localToken", getAddressEncoder()],
        ["remoteDomain", getU32Encoder()],
        ["remoteToken", getAddressEncoder()],
    ]);
}
export function getTokenPairUnlinkedDecoder() {
    return getStructDecoder([
        ["localToken", getAddressDecoder()],
        ["remoteDomain", getU32Decoder()],
        ["remoteToken", getAddressDecoder()],
    ]);
}
export function getTokenPairUnlinkedCodec() {
    return combineCodec(getTokenPairUnlinkedEncoder(), getTokenPairUnlinkedDecoder());
}
//# sourceMappingURL=tokenPairUnlinked.js.map