import { CP_AMM_PROGRAM_ADDRESS } from "../programs/cpAmm.js"; import "../programs/index.js"; import { AccountMeta, AccountSignerMeta, Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlySignerAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount } from "@solana/kit"; //#region src/generated/instructions/withdrawIneligibleReward.d.ts declare const WITHDRAW_INELIGIBLE_REWARD_DISCRIMINATOR: ReadonlyUint8Array; declare function getWithdrawIneligibleRewardDiscriminatorBytes(): ReadonlyUint8Array; type WithdrawIneligibleRewardInstruction = string, TAccountPool extends string | AccountMeta = string, TAccountRewardVault extends string | AccountMeta = string, TAccountRewardMint extends string | AccountMeta = string, TAccountFunderTokenAccount extends string | AccountMeta = string, TAccountFunder extends string | AccountMeta = string, TAccountTokenProgram extends string | AccountMeta = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountEventAuthority extends string | AccountMeta = string, TAccountProgram extends string | AccountMeta = "cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG", TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[TAccountPoolAuthority extends string ? ReadonlyAccount : TAccountPoolAuthority, TAccountPool extends string ? WritableAccount : TAccountPool, TAccountRewardVault extends string ? WritableAccount : TAccountRewardVault, TAccountRewardMint extends string ? ReadonlyAccount : TAccountRewardMint, TAccountFunderTokenAccount extends string ? WritableAccount : TAccountFunderTokenAccount, TAccountFunder extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountFunder, TAccountTokenProgram extends string ? ReadonlyAccount : TAccountTokenProgram, TAccountEventAuthority extends string ? ReadonlyAccount : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount : TAccountProgram, ...TRemainingAccounts]>; type WithdrawIneligibleRewardInstructionData = { discriminator: ReadonlyUint8Array; rewardIndex: number; }; type WithdrawIneligibleRewardInstructionDataArgs = { rewardIndex: number; }; declare function getWithdrawIneligibleRewardInstructionDataEncoder(): FixedSizeEncoder; declare function getWithdrawIneligibleRewardInstructionDataDecoder(): FixedSizeDecoder; declare function getWithdrawIneligibleRewardInstructionDataCodec(): FixedSizeCodec; type WithdrawIneligibleRewardAsyncInput = { poolAuthority?: Address; pool: Address; rewardVault?: Address; rewardMint: Address; funderTokenAccount: Address; funder: TransactionSigner; tokenProgram?: Address; eventAuthority?: Address; program?: Address; rewardIndex: WithdrawIneligibleRewardInstructionDataArgs["rewardIndex"]; }; declare function getWithdrawIneligibleRewardInstructionAsync(input: WithdrawIneligibleRewardAsyncInput, config?: { programAddress?: TProgramAddress; }): Promise>; type WithdrawIneligibleRewardInput = { poolAuthority: Address; pool: Address; rewardVault: Address; rewardMint: Address; funderTokenAccount: Address; funder: TransactionSigner; tokenProgram?: Address; eventAuthority: Address; program?: Address; rewardIndex: WithdrawIneligibleRewardInstructionDataArgs["rewardIndex"]; }; declare function getWithdrawIneligibleRewardInstruction(input: WithdrawIneligibleRewardInput, config?: { programAddress?: TProgramAddress; }): WithdrawIneligibleRewardInstruction; type ParsedWithdrawIneligibleRewardInstruction = { programAddress: Address; accounts: { poolAuthority: TAccountMetas[0]; pool: TAccountMetas[1]; rewardVault: TAccountMetas[2]; rewardMint: TAccountMetas[3]; funderTokenAccount: TAccountMetas[4]; funder: TAccountMetas[5]; tokenProgram: TAccountMetas[6]; eventAuthority: TAccountMetas[7]; program: TAccountMetas[8]; }; data: WithdrawIneligibleRewardInstructionData; }; declare function parseWithdrawIneligibleRewardInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedWithdrawIneligibleRewardInstruction; //#endregion export { ParsedWithdrawIneligibleRewardInstruction, WITHDRAW_INELIGIBLE_REWARD_DISCRIMINATOR, WithdrawIneligibleRewardAsyncInput, WithdrawIneligibleRewardInput, WithdrawIneligibleRewardInstruction, WithdrawIneligibleRewardInstructionData, WithdrawIneligibleRewardInstructionDataArgs, getWithdrawIneligibleRewardDiscriminatorBytes, getWithdrawIneligibleRewardInstruction, getWithdrawIneligibleRewardInstructionAsync, getWithdrawIneligibleRewardInstructionDataCodec, getWithdrawIneligibleRewardInstructionDataDecoder, getWithdrawIneligibleRewardInstructionDataEncoder, parseWithdrawIneligibleRewardInstruction }; //# sourceMappingURL=withdrawIneligibleReward.d.ts.map