/**
 * 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, } from "@solana/kit";
export function getTransferredOwnershipEncoder() {
    return getStructEncoder([["newOwner", getAddressEncoder()]]);
}
export function getTransferredOwnershipDecoder() {
    return getStructDecoder([["newOwner", getAddressDecoder()]]);
}
export function getTransferredOwnershipCodec() {
    return combineCodec(getTransferredOwnershipEncoder(), getTransferredOwnershipDecoder());
}
//# sourceMappingURL=transferredOwnership.js.map