import type { GateResponse } from "./types.js"; export interface FetchGateResult { gated: boolean; gate: GateResponse | null; } /** * Check if a URL has a Xenarch gate by making a request and checking for 402. */ export declare function fetchGate(url: string): Promise; /** * Fetch gate info from the platform API by domain. */ export declare function fetchGateByDomain(apiBase: string, domain: string): Promise; export interface PaymentHistoryItem { url: string; domain: string; amount_usd: string; tx_hash: string; paid_at: string; } /** * Get payment history for a wallet address. */ export declare function getPaymentHistory(apiBase: string, walletAddress: string, options?: { domain?: string; limit?: number; }): Promise; //# sourceMappingURL=api.d.ts.map