import type { CloakCreateOrderOptions, CloakCreateOrderRequest, CloakCreateOrderResponse, CloakDepositRequest, CloakDepositResponse, CloakOrderStatus, CloakOrderStatusResponse, CloakQuoteRequest, CloakQuoteResponse, CloakRefreshTransactionOptions, CloakRefreshTransactionResponse, CloakRequestOptions, CloakTokensResponse, CloakWaitForFinalOptions, VeiloCloakConfig } from "./types.js"; /** * Typed façade for the Veilo Cloak Partner API. * * The client builds and reads Cloak orders; it never signs or submits a Solana * transaction on the caller's behalf. */ export declare class VeiloCloakClient { private readonly transport; constructor(config: VeiloCloakConfig); /** List supported assets and their current raw-unit limits. */ listTokens(options?: CloakRequestOptions): Promise; /** Price a private transfer. This creates no order and does nothing on-chain. */ getQuote(input: CloakQuoteRequest, options?: CloakRequestOptions): Promise; /** * Build the unsigned deposit transaction for a signed quote. v1 by default; * pass `txVersion: 0` for a v0 transaction. The response's * `transactionVersion` says which was built. */ createOrder(input: CloakCreateOrderRequest, options?: CloakCreateOrderOptions): Promise; /** * Rebuild an unfunded order with a fresh blockhash. `txVersion` overrides the * version the order was created with. */ refreshTransaction(trackingId: string, options?: CloakRefreshTransactionOptions): Promise; /** Read the monotone public status of an order. */ getOrderStatus(trackingId: string, options?: CloakRequestOptions): Promise; /** * Optional latency hint after the user's deposit confirms. Cloak verifies the * signature independently; this acknowledgement is not proof of payment. */ notifyDeposit(input: CloakDepositRequest, options?: CloakRequestOptions): Promise; /** Poll until Cloak reports a genuinely final, monotone status. */ waitForFinalStatus(trackingId: string, options?: CloakWaitForFinalOptions): Promise; }