#!/usr/bin/env node
/**
 * b402-solana MCP server.
 *
 * Exposes the B402Solana SDK as agent-callable tools over stdio. Compatible
 * with Claude Code, Cursor, and any other MCP runtime that speaks the
 * Model Context Protocol.
 *
 * Usage:
 *   claude mcp add b402-solana node /abs/path/to/dist/index.js \
 *     --env B402_RPC_URL=https://api.devnet.solana.com \
 *     --env B402_CLUSTER=devnet \
 *     --env B402_CIRCUITS_ROOT=/abs/path/to/circuits/build
 *
 * Tools:
 *   - shield        — move SPL tokens into a private balance
 *   - unshield      — withdraw a private deposit to a public address
 *   - private_swap  — atomic private swap through a registered adapter
 *   - status        — wallet pubkey + private balances by mint
 *   - holdings      — per-deposit private holdings (id, mint, amount)
 *   - balance       — aggregate private balance per mint
 *   - quote_swap    — Jupiter quote: expected OUT, slippage, price impact
 *   - watch_incoming — cursor-based poll for newly-arrived private deposits
 *
 * Security:
 *   - Keypair loaded once from disk (B402_KEYPAIR_PATH) and held in memory.
 *   - Tool responses include only public values (signatures, mint pubkeys,
 *     opaque deposit IDs). Never returns secret keys or anything spendable.
 *   - All input pubkeys validated as base58; amounts validated as u64-string
 *     to prevent floating-point precision loss.
 */
export {};
//# sourceMappingURL=index.d.ts.map