import type { VerifyResponse, VerifyResponseV2, SettleResponseV2, SupportedResponse, PaymentPayload, PaymentRequirements, SessionValidateResponse, SessionDeductResponse, SessionPrepareResponse } from './types.js'; /** * Verify a shielded Zcash payment via CipherPay's x402 facilitator. */ export declare function verifyPayment(txid: string, expectedAmountZec: number, apiKey: string, facilitatorUrl?: string, protocol?: string): Promise; /** * Verify a payment via x402 V2 spec-compliant facilitator endpoint. * Sends { x402Version, paymentPayload, paymentRequirements } to /api/x402/v2/verify. */ export declare function verifyPaymentV2(paymentPayload: PaymentPayload, paymentRequirements: PaymentRequirements, apiKey: string, facilitatorUrl?: string): Promise; /** * Settle a payment via x402 V2 spec-compliant facilitator endpoint. * For Zcash, settlement is implicit (tx already on-chain), so this mirrors verify. */ export declare function settlePaymentV2(paymentPayload: PaymentPayload, paymentRequirements: PaymentRequirements, apiKey: string, facilitatorUrl?: string): Promise; /** * Query facilitator capabilities via GET /api/x402/supported. */ export declare function getSupported(facilitatorUrl?: string): Promise; /** * Validate a session bearer token and deduct one request from the balance. * Token is sent via Authorization header (not query string) to avoid URL logging. */ export declare function validateSession(token: string, _apiKey: string, facilitatorUrl?: string): Promise; /** * Deduct a variable amount from a session (for streaming metering). */ export declare function deductSession(token: string, amountZatoshis: number, facilitatorUrl?: string): Promise; /** * Prepare a session deposit: get a unique payment address (no memo needed). */ export declare function prepareSession(merchantId: string, facilitatorUrl?: string): Promise; //# sourceMappingURL=client.d.ts.map