/** * `paygate register ` — announce a deployed, publicly-reachable gated * endpoint to the facilitator's discovery catalog. * * Thin client of the facilitator's `POST /discovery/register`: the * facilitator itself probes the URL (single unpaid GET) and catalogs only a * live, well-formed 402 — so registration is structurally impossible before * deploy. Errors pass through S2-structured. */ export interface RegisterIO { stdout: (s: string) => void; stderr: (s: string) => void; } export interface RegisterResult { ok: boolean; facilitator: string; resource: string; status?: number; catalogKey?: string; checks?: string[]; error?: { code: string; message: string; retryable: boolean; }; } export declare const REGISTER_HELP_TEXT = "paygate register [--facilitator ] [--json]\n\nRegisters a DEPLOYED gated endpoint with the facilitator's discovery catalog.\nThe facilitator probes the URL (one unpaid GET, never a payment) and lists it\nonly if it serves a valid x402 challenge. Ordering: wrap \u2192 deploy \u2192 register\n\u2192 verify.\n"; export declare function registerResource(resource: string, facilitator: string, fetchImpl?: typeof fetch): Promise; export declare function runRegister(argv: string[], io?: RegisterIO, fetchImpl?: typeof fetch): Promise; //# sourceMappingURL=register.d.ts.map