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/permanentLockPosition.d.ts declare const PERMANENT_LOCK_POSITION_DISCRIMINATOR: ReadonlyUint8Array; declare function getPermanentLockPositionDiscriminatorBytes(): ReadonlyUint8Array; type PermanentLockPositionInstruction = string, TAccountPosition extends string | AccountMeta = string, TAccountPositionNftAccount extends string | AccountMeta = string, TAccountOwner extends string | AccountMeta = string, TAccountEventAuthority extends string | AccountMeta = string, TAccountProgram extends string | AccountMeta = "cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG", TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[TAccountPool extends string ? WritableAccount : TAccountPool, TAccountPosition extends string ? WritableAccount : TAccountPosition, TAccountPositionNftAccount extends string ? ReadonlyAccount : TAccountPositionNftAccount, TAccountOwner extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountOwner, TAccountEventAuthority extends string ? ReadonlyAccount : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount : TAccountProgram, ...TRemainingAccounts]>; type PermanentLockPositionInstructionData = { discriminator: ReadonlyUint8Array; permanentLockLiquidity: bigint; }; type PermanentLockPositionInstructionDataArgs = { permanentLockLiquidity: number | bigint; }; declare function getPermanentLockPositionInstructionDataEncoder(): FixedSizeEncoder; declare function getPermanentLockPositionInstructionDataDecoder(): FixedSizeDecoder; declare function getPermanentLockPositionInstructionDataCodec(): FixedSizeCodec; type PermanentLockPositionAsyncInput = { pool: Address; position: Address; /** The token account for nft */ positionNftAccount: Address; /** owner of position */ owner: TransactionSigner; eventAuthority?: Address; program?: Address; permanentLockLiquidity: PermanentLockPositionInstructionDataArgs["permanentLockLiquidity"]; }; declare function getPermanentLockPositionInstructionAsync(input: PermanentLockPositionAsyncInput, config?: { programAddress?: TProgramAddress; }): Promise>; type PermanentLockPositionInput = { pool: Address; position: Address; /** The token account for nft */ positionNftAccount: Address; /** owner of position */ owner: TransactionSigner; eventAuthority: Address; program?: Address; permanentLockLiquidity: PermanentLockPositionInstructionDataArgs["permanentLockLiquidity"]; }; declare function getPermanentLockPositionInstruction(input: PermanentLockPositionInput, config?: { programAddress?: TProgramAddress; }): PermanentLockPositionInstruction; type ParsedPermanentLockPositionInstruction = { programAddress: Address; accounts: { pool: TAccountMetas[0]; position: TAccountMetas[1]; /** The token account for nft */ positionNftAccount: TAccountMetas[2]; /** owner of position */ owner: TAccountMetas[3]; eventAuthority: TAccountMetas[4]; program: TAccountMetas[5]; }; data: PermanentLockPositionInstructionData; }; declare function parsePermanentLockPositionInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedPermanentLockPositionInstruction; //#endregion export { PERMANENT_LOCK_POSITION_DISCRIMINATOR, ParsedPermanentLockPositionInstruction, PermanentLockPositionAsyncInput, PermanentLockPositionInput, PermanentLockPositionInstruction, PermanentLockPositionInstructionData, PermanentLockPositionInstructionDataArgs, getPermanentLockPositionDiscriminatorBytes, getPermanentLockPositionInstruction, getPermanentLockPositionInstructionAsync, getPermanentLockPositionInstructionDataCodec, getPermanentLockPositionInstructionDataDecoder, getPermanentLockPositionInstructionDataEncoder, parsePermanentLockPositionInstruction }; //# sourceMappingURL=permanentLockPosition.d.ts.map