/**
 * 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 { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from "@solana/kit";
import { FARMS_PROGRAM_ADDRESS } from "../programs";
export declare const TRANSFER_OWNERSHIP_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getTransferOwnershipDiscriminatorBytes(): ReadonlyUint8Array;
export type TransferOwnershipInstruction<TProgram extends string = typeof FARMS_PROGRAM_ADDRESS, TAccountOldOwner extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountNewOwner extends string | AccountMeta<string> = string, TAccountOldUserState extends string | AccountMeta<string> = string, TAccountNewUserState extends string | AccountMeta<string> = string, TAccountFarmState extends string | AccountMeta<string> = string, TAccountScopePrices extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountRent extends string | AccountMeta<string> = "SysvarRent111111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
    TAccountOldOwner extends string ? ReadonlySignerAccount<TAccountOldOwner> & AccountSignerMeta<TAccountOldOwner> : TAccountOldOwner,
    TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
    TAccountNewOwner extends string ? ReadonlyAccount<TAccountNewOwner> : TAccountNewOwner,
    TAccountOldUserState extends string ? WritableAccount<TAccountOldUserState> : TAccountOldUserState,
    TAccountNewUserState extends string ? WritableAccount<TAccountNewUserState> : TAccountNewUserState,
    TAccountFarmState extends string ? WritableAccount<TAccountFarmState> : TAccountFarmState,
    TAccountScopePrices extends string ? ReadonlyAccount<TAccountScopePrices> : TAccountScopePrices,
    TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
    TAccountRent extends string ? ReadonlyAccount<TAccountRent> : TAccountRent,
    ...TRemainingAccounts
]>;
export type TransferOwnershipInstructionData = {
    discriminator: ReadonlyUint8Array;
};
export type TransferOwnershipInstructionDataArgs = {};
export declare function getTransferOwnershipInstructionDataEncoder(): FixedSizeEncoder<TransferOwnershipInstructionDataArgs>;
export declare function getTransferOwnershipInstructionDataDecoder(): FixedSizeDecoder<TransferOwnershipInstructionData>;
export declare function getTransferOwnershipInstructionDataCodec(): FixedSizeCodec<TransferOwnershipInstructionDataArgs, TransferOwnershipInstructionData>;
export type TransferOwnershipInput<TAccountOldOwner extends string = string, TAccountPayer extends string = string, TAccountNewOwner extends string = string, TAccountOldUserState extends string = string, TAccountNewUserState extends string = string, TAccountFarmState extends string = string, TAccountScopePrices extends string = string, TAccountSystemProgram extends string = string, TAccountRent extends string = string> = {
    oldOwner: TransactionSigner<TAccountOldOwner>;
    payer: TransactionSigner<TAccountPayer>;
    newOwner: Address<TAccountNewOwner>;
    oldUserState: Address<TAccountOldUserState>;
    newUserState: Address<TAccountNewUserState>;
    farmState: Address<TAccountFarmState>;
    scopePrices?: Address<TAccountScopePrices>;
    systemProgram?: Address<TAccountSystemProgram>;
    rent?: Address<TAccountRent>;
};
export declare function getTransferOwnershipInstruction<TAccountOldOwner extends string, TAccountPayer extends string, TAccountNewOwner extends string, TAccountOldUserState extends string, TAccountNewUserState extends string, TAccountFarmState extends string, TAccountScopePrices extends string, TAccountSystemProgram extends string, TAccountRent extends string, TProgramAddress extends Address = typeof FARMS_PROGRAM_ADDRESS>(input: TransferOwnershipInput<TAccountOldOwner, TAccountPayer, TAccountNewOwner, TAccountOldUserState, TAccountNewUserState, TAccountFarmState, TAccountScopePrices, TAccountSystemProgram, TAccountRent>, config?: {
    programAddress?: TProgramAddress;
}): TransferOwnershipInstruction<TProgramAddress, TAccountOldOwner, TAccountPayer, TAccountNewOwner, TAccountOldUserState, TAccountNewUserState, TAccountFarmState, TAccountScopePrices, TAccountSystemProgram, TAccountRent>;
export type ParsedTransferOwnershipInstruction<TProgram extends string = typeof FARMS_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        oldOwner: TAccountMetas[0];
        payer: TAccountMetas[1];
        newOwner: TAccountMetas[2];
        oldUserState: TAccountMetas[3];
        newUserState: TAccountMetas[4];
        farmState: TAccountMetas[5];
        scopePrices?: TAccountMetas[6] | undefined;
        systemProgram: TAccountMetas[7];
        rent: TAccountMetas[8];
    };
    data: TransferOwnershipInstructionData;
};
export declare function parseTransferOwnershipInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransferOwnershipInstruction<TProgram, TAccountMetas>;
//# sourceMappingURL=transferOwnership.d.ts.map