/** * `paygate doctor ` — read-only x402 seller readiness check. * * The network path is deliberately tiny: one GET, no auth, no payment * headers, redirects disabled. It can inspect a 402 challenge but cannot pay. */ export interface DoctorCheck { id: "unpaid-402" | "resource-url" | "x402-version" | "base-network" | "asset" | "bazaar"; ok: boolean; message: string; } export interface DoctorReport { ok: boolean; url: string; status?: number; checks: DoctorCheck[]; error?: string; } interface DoctorIO { stdout: (value: string) => void; stderr: (value: string) => void; } interface DoctorOptions { fetchImpl?: typeof fetch; timeoutMs?: number; } export declare function validateDoctorChallenge(requestedUrl: string, status: number, body: unknown): DoctorReport; export declare function doctorUrl(url: string, options?: DoctorOptions): Promise; export declare const DOCTOR_HELP_TEXT = "paygate doctor [--json]\n\nRead-only Base mainnet readiness check. Sends one unpaid, unauthenticated GET\nwith redirects disabled and validates:\n HTTP 402 \u00B7 HTTPS resource URL \u00B7 x402 v2 \u00B7 Base mainnet\n official USDC/EURC asset \u00B7 Bazaar discovery metadata\n\nAliases:\n paygate check \n"; export declare function runDoctor(argv: string[], io?: DoctorIO, options?: DoctorOptions): Promise; export {}; //# sourceMappingURL=doctor.d.ts.map