import type { HttpClient } from "../core/http.js"; import type { OrderCardRequest, CardResponse, CardListResponse, CardRevealResponse, UpdateCardRequest, ImportCardRequest, SearchGiftCardsRequest, OneclawResponse } from "../types.js"; /** * Payment Card Vault — order prepaid/gift cards via x402, then list, get, * refresh, void, and (human-gated) reveal them. * * PANs/CVVs are never returned except by {@link reveal}, which requires human * password re-authentication (or an explicit per-card agent reveal policy). * Ordering guardrails bound the purchase, not how a revealed card is later spent. */ export declare class CardsResource { private readonly http; constructor(http: HttpClient); /** * Order a prepaid or gift card for an agent. Drives the x402 payment flow * server-side using the agent's Ethereum signing key (funded with USDC on * Base). Automatically generates an Idempotency-Key; pass one to override. */ order(agentId: string, body: OrderCardRequest, options?: { idempotencyKey?: string; }): Promise>; /** List cards for the caller (agents see only their own). Always masked. */ list(): Promise>; /** Get a single card (masked — last4 only). */ get(cardId: string): Promise>; /** * Reveal full card details. Humans must pass their account password via * `password` (sent as `X-Auth-Confirm`). Agents may reveal only when a human * has enabled a per-card reveal policy. */ reveal(cardId: string, options?: { password?: string; }): Promise>; /** Update a card's reveal policy and/or void_after (human-only). */ update(cardId: string, body: UpdateCardRequest): Promise>; /** Void a card — a 1Claw-level lock. Forward-looking only. */ void(cardId: string): Promise>; /** Refresh a Laso reference-mode card's balance/status. Rate-limited. */ refresh(cardId: string): Promise>; /** Manually import an existing card (human-only, full storage mode). */ import(body: ImportCardRequest): Promise>; /** Search available Laso gift-card brands/servers. */ searchGiftCards(body?: SearchGiftCardsRequest): Promise>; } //# sourceMappingURL=cards.d.ts.map