/// import { Connection, PublicKey, Signer, TransactionInstruction } from "@solana/web3.js"; import BN from "bn.js"; import { Base, InstructionType, TokenAccount, TxVersion } from "../base"; export interface SHOW_INFO { programId: PublicKey; poolId: PublicKey; ammId: PublicKey; ownerAccountId: PublicKey; snapshotLpAmount: BN; openTime: number; endTime: number; project: (typeof Utils1216.VERSION_PROJECT)[number]; canClaim: boolean; canClaimErrorType: canClaimErrorType; tokenInfo: { mintAddress: PublicKey; mintVault: PublicKey; mintDecimals: number; perLpLoss: BN; debtAmount: BN; }[]; } export type canClaimErrorType = 'outOfOperationalTime' | 'alreadyClaimIt' | undefined; export declare class Utils1216 extends Base { static CLAIMED_NUM: number; static POOL_LAYOUT: import("../marshmallow").Structure; static OWNER_LAYOUT: import("../marshmallow").Structure; static DEFAULT_POOL_ID: PublicKey[]; static SEED_CONFIG: { pool: { id: Buffer; }; owner: { id: Buffer; }; }; static VERSION_PROJECT: readonly [any, "Francium", "Tulip"]; static getPdaPoolId(programId: PublicKey, ammId: PublicKey): { publicKey: PublicKey; nonce: number; }; static getPdaOwnerId(programId: PublicKey, poolId: PublicKey, owner: PublicKey, version: number): { publicKey: PublicKey; nonce: number; }; static getAllInfo({ connection, programId, poolIds, wallet, chainTime, }: { connection: Connection; programId: PublicKey; poolIds: PublicKey[]; wallet: PublicKey; chainTime: number; }): Promise; static makeClaimInstructionSimple({ connection, poolInfo, ownerInfo }: { connection: Connection; poolInfo: SHOW_INFO; ownerInfo: { wallet: PublicKey; tokenAccounts: TokenAccount[]; associatedOnly: boolean; }; }): Promise<{ address: {}; innerTransactions: { instructions: TransactionInstruction[]; signers: Signer[]; instructionTypes: InstructionType[]; supportedVersion: TxVersion[]; }[]; }>; static makeClaimAllInstructionSimple({ connection, poolInfos, ownerInfo }: { connection: Connection; poolInfos: SHOW_INFO[]; ownerInfo: { wallet: PublicKey; tokenAccounts: TokenAccount[]; associatedOnly: boolean; }; }): Promise<{ address: {}; innerTransactions: { instructions: TransactionInstruction[]; signers: Signer[]; instructionTypes: InstructionType[]; supportedVersion: TxVersion[]; }[]; }>; static makeClaimInstruction({ programId, poolInfo, ownerInfo }: { programId: PublicKey; poolInfo: SHOW_INFO; ownerInfo: { wallet: PublicKey; ownerPda: PublicKey; claimAddress: PublicKey[]; }; }): TransactionInstruction; }