/** * Vault Snapshot Executor - NOLA (No LIT Action) * * Standalone executor that wraps VaultSnapshotModule for Node.js execution. * Reuses the same pattern as tests/helpers/setup-lit-env.ts. * * Purpose: FREE data access without paying for LIT Action execution. * Use case: Position listing, collateral ratio display, mint preview. * * Architecture: * - Same vault-snapshot.ts code (zero changes) * - Inject Node.js providers (ethers, axios) instead of Lit.Actions.* * - Returns identical VaultSnapshot data structure */ import { VaultSnapshot } from "../../../src/interfaces/chunks/vault-snapshot.i"; /** * Parameters for vault snapshot execution */ export interface VaultSnapshotExecutorParams { positionId: string; contractAddress: string; termManagerAddress: string; loanOpsManagerAddress: string; liquidationManagerAddress: string; chain: string; chainId?: number; rpcUrl: string; bitcoinProviderUrl: string; /** * Balance-confirmation threshold override. Defaults to the chain policy's * `minBitcoinBalanceConfirmations` (mainnet 6, dev chains 1). */ minConfirmations?: number; } /** * Execute vault snapshot in Node.js (NOLA - No LIT Action) * * This function wraps VaultSnapshotModule with Node.js providers, * allowing the same code to run outside LIT Actions runtime. * * @param params - Execution parameters * @returns Complete VaultSnapshot */ export declare function executeVaultSnapshot(params: VaultSnapshotExecutorParams): Promise; //# sourceMappingURL=vault-snapshot-executor.d.ts.map