/** * Known x402 endpoints registry * Endpoints from x402.biwas.xyz, x402.aibtc.com, stx402.com, and aibtc.com */ export type X402Source = "x402.biwas.xyz" | "x402.aibtc.com" | "stx402.com" | "aibtc.com"; export interface X402Endpoint { path: string; method: "GET" | "POST" | "PUT" | "DELETE"; description: string; cost: string; category: string; source: X402Source; params?: Record; body?: Record; } export declare const ALL_ENDPOINTS: X402Endpoint[]; /** * Search endpoints by keyword */ export declare function searchEndpoints(query: string): X402Endpoint[]; /** * Get endpoints by source */ export declare function getEndpointsBySource(source: X402Source): X402Endpoint[]; /** * Format endpoints for display */ export declare function formatEndpointsTable(endpoints: X402Endpoint[]): string; /** * Get all unique categories */ export declare function getCategories(): string[]; /** * Lookup an endpoint in the registry by method, path, and source URL. * Used to determine if an endpoint is known-FREE or known-PAID before * deciding whether to use a payment-capable client. * * Supports path patterns with placeholders like {address}, {messageId}, etc. */ export declare function lookupEndpoint(method: string, path: string, sourceUrl: string): X402Endpoint | undefined; //# sourceMappingURL=registry.d.ts.map