/** * 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, AccountSignerMeta, Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlySignerAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount } from "@solana/kit"; import { WHIRLPOOL_PROGRAM_ADDRESS } from "../programs/index.js"; export declare const DELETE_POSITION_BUNDLE_DISCRIMINATOR: ReadonlyUint8Array; export declare function getDeletePositionBundleDiscriminatorBytes(): ReadonlyUint8Array; export type DeletePositionBundleInstruction = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountPositionBundle extends string ? WritableAccount : TAccountPositionBundle, TAccountPositionBundleMint extends string ? WritableAccount : TAccountPositionBundleMint, TAccountPositionBundleTokenAccount extends string ? WritableAccount : TAccountPositionBundleTokenAccount, TAccountPositionBundleOwner extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountPositionBundleOwner, TAccountReceiver extends string ? WritableAccount : TAccountReceiver, TAccountTokenProgram extends string ? ReadonlyAccount : TAccountTokenProgram, ...TRemainingAccounts ]>; export interface DeletePositionBundleInstructionData { discriminator: ReadonlyUint8Array; } export type DeletePositionBundleInstructionDataArgs = {}; export declare function getDeletePositionBundleInstructionDataEncoder(): FixedSizeEncoder; export declare function getDeletePositionBundleInstructionDataDecoder(): FixedSizeDecoder; export declare function getDeletePositionBundleInstructionDataCodec(): FixedSizeCodec; export interface DeletePositionBundleInput { positionBundle: Address; positionBundleMint: Address; positionBundleTokenAccount: Address; positionBundleOwner: TransactionSigner; receiver: Address; tokenProgram?: Address; } export declare function getDeletePositionBundleInstruction(input: DeletePositionBundleInput, config?: { programAddress?: TProgramAddress; }): DeletePositionBundleInstruction; export interface ParsedDeletePositionBundleInstruction { programAddress: Address; accounts: { positionBundle: TAccountMetas[0]; positionBundleMint: TAccountMetas[1]; positionBundleTokenAccount: TAccountMetas[2]; positionBundleOwner: TAccountMetas[3]; receiver: TAccountMetas[4]; tokenProgram: TAccountMetas[5]; }; data: DeletePositionBundleInstructionData; } export declare function parseDeletePositionBundleInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedDeletePositionBundleInstruction; //# sourceMappingURL=deletePositionBundle.d.ts.map