/** * Twig Monitor — Competitive Position * Fetches x402-discovery catalog and scores category peers. * Gracefully degrades if catalog unavailable. */ import type { CompetitivePosition } from './types.js'; export interface CatalogEntry { url: string; category?: string; } /** * Fetch peer catalog. Returns empty array on failure (graceful degradation). */ export declare function fetchCatalog(overrideUrl?: string): Promise; /** * Compute competitive position for a subject URL. * Fetches up to `maxPeers` entries from the catalog, scores them, * and ranks the subject. */ export declare function getCompetitivePosition(subjectUrl: string, subjectScore: number, opts?: { maxPeers?: number; catalogOverrideUrl?: string; }): Promise;