import type { Address } from "@solana/kit"; import { type RequestWithdrawVaultReceipt, type Vault } from "../generated"; import type { ExtensionsRpc } from "./rpc"; export type PendingWithdrawal = { user: Address; amountAssetToWithdrawEffective: number; amountAssetToWithdrawAtRequest: number; amountAssetToWithdrawAtPresent: number; amountLpEscrowed: bigint; withdrawableFromTs: bigint; }; declare function processWithdrawalReceipt(receipt: RequestWithdrawVaultReceipt, vault: Vault, lpSupply: bigint): PendingWithdrawal; export declare function getPendingWithdrawalForUser(rpc: ExtensionsRpc, vault: Address, user: Address): Promise; export declare function getAllPendingWithdrawalsForVault(rpc: ExtensionsRpc, vault: Address): Promise; export { processWithdrawalReceipt }; //# sourceMappingURL=withdrawals.d.ts.map