import { CP_AMM_PROGRAM_ADDRESS } from "../programs/cpAmm.js"; import "../programs/index.js"; import { AccountMeta, Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlyUint8Array, WritableAccount } from "@solana/kit"; //#region src/generated/instructions/refreshVesting.d.ts declare const REFRESH_VESTING_DISCRIMINATOR: ReadonlyUint8Array; declare function getRefreshVestingDiscriminatorBytes(): ReadonlyUint8Array; type RefreshVestingInstruction = string, TAccountPosition extends string | AccountMeta = string, TAccountPositionNftAccount extends string | AccountMeta = string, TAccountOwner extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[TAccountPool extends string ? ReadonlyAccount : TAccountPool, TAccountPosition extends string ? WritableAccount : TAccountPosition, TAccountPositionNftAccount extends string ? ReadonlyAccount : TAccountPositionNftAccount, TAccountOwner extends string ? ReadonlyAccount : TAccountOwner, ...TRemainingAccounts]>; type RefreshVestingInstructionData = { discriminator: ReadonlyUint8Array; }; type RefreshVestingInstructionDataArgs = {}; declare function getRefreshVestingInstructionDataEncoder(): FixedSizeEncoder; declare function getRefreshVestingInstructionDataDecoder(): FixedSizeDecoder; declare function getRefreshVestingInstructionDataCodec(): FixedSizeCodec; type RefreshVestingInput = { pool: Address; position: Address; /** The token account for nft */ positionNftAccount: Address; owner: Address; }; declare function getRefreshVestingInstruction(input: RefreshVestingInput, config?: { programAddress?: TProgramAddress; }): RefreshVestingInstruction; type ParsedRefreshVestingInstruction = { programAddress: Address; accounts: { pool: TAccountMetas[0]; position: TAccountMetas[1]; /** The token account for nft */ positionNftAccount: TAccountMetas[2]; owner: TAccountMetas[3]; }; data: RefreshVestingInstructionData; }; declare function parseRefreshVestingInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedRefreshVestingInstruction; //#endregion export { ParsedRefreshVestingInstruction, REFRESH_VESTING_DISCRIMINATOR, RefreshVestingInput, RefreshVestingInstruction, RefreshVestingInstructionData, RefreshVestingInstructionDataArgs, getRefreshVestingDiscriminatorBytes, getRefreshVestingInstruction, getRefreshVestingInstructionDataCodec, getRefreshVestingInstructionDataDecoder, getRefreshVestingInstructionDataEncoder, parseRefreshVestingInstruction }; //# sourceMappingURL=refreshVesting.d.ts.map