/**
 * 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 } from '@solana/kit';
import { NOSANA_STAKING_PROGRAM_ADDRESS } from '../programs/index.js';
export declare const UNSTAKE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getUnstakeDiscriminatorBytes(): ReadonlyUint8Array;
export type UnstakeInstruction<TProgram extends string = typeof NOSANA_STAKING_PROGRAM_ADDRESS, TAccountStake extends string | AccountMeta<string> = string, TAccountReward extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
    TAccountStake extends string ? WritableAccount<TAccountStake> : TAccountStake,
    TAccountReward extends string ? ReadonlyAccount<TAccountReward> : TAccountReward,
    TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
    ...TRemainingAccounts
]>;
export type UnstakeInstructionData = {
    discriminator: ReadonlyUint8Array;
};
export type UnstakeInstructionDataArgs = {};
export declare function getUnstakeInstructionDataEncoder(): FixedSizeEncoder<UnstakeInstructionDataArgs>;
export declare function getUnstakeInstructionDataDecoder(): FixedSizeDecoder<UnstakeInstructionData>;
export declare function getUnstakeInstructionDataCodec(): FixedSizeCodec<UnstakeInstructionDataArgs, UnstakeInstructionData>;
export type UnstakeInput<TAccountStake extends string = string, TAccountReward extends string = string, TAccountAuthority extends string = string> = {
    stake: Address<TAccountStake>;
    reward: Address<TAccountReward>;
    authority: TransactionSigner<TAccountAuthority>;
};
export declare function getUnstakeInstruction<TAccountStake extends string, TAccountReward extends string, TAccountAuthority extends string, TProgramAddress extends Address = typeof NOSANA_STAKING_PROGRAM_ADDRESS>(input: UnstakeInput<TAccountStake, TAccountReward, TAccountAuthority>, config?: {
    programAddress?: TProgramAddress;
}): UnstakeInstruction<TProgramAddress, TAccountStake, TAccountReward, TAccountAuthority>;
export type ParsedUnstakeInstruction<TProgram extends string = typeof NOSANA_STAKING_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
    programAddress: Address<TProgram>;
    accounts: {
        stake: TAccountMetas[0];
        reward: TAccountMetas[1];
        authority: TAccountMetas[2];
    };
    data: UnstakeInstructionData;
};
export declare function parseUnstakeInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUnstakeInstruction<TProgram, TAccountMetas>;
