/**
 * 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 getOwnershipTransferredEncoder() {
    return getStructEncoder([
        ["previousOwner", getAddressEncoder()],
        ["newOwner", getAddressEncoder()],
    ]);
}
export function getOwnershipTransferredDecoder() {
    return getStructDecoder([
        ["previousOwner", getAddressDecoder()],
        ["newOwner", getAddressDecoder()],
    ]);
}
export function getOwnershipTransferredCodec() {
    return combineCodec(getOwnershipTransferredEncoder(), getOwnershipTransferredDecoder());
}
//# sourceMappingURL=ownershipTransferred.js.map