/** * Default origin of the PUBLIC production read API that the Reclaim * verification SDK/attestor itself calls at runtime to fetch a provider's * recipe — a DIFFERENT service from the old-devtools dashboard backend * (`ReclaimOldClient`, `devapi.reclaimprotocol.org`). Both endpoints below are * unauthenticated reads (no `authenticateToken` middleware on this backend's * routes), so this client needs no identity. Override with * `RECLAIM_SDK_API_URL`. */ export declare const DEFAULT_SDK_API_URL = "https://api.reclaimprotocol.org"; /** * Minimal read-only client for the public provider-info endpoints on the SDK * backend (`reclaim-sdk-backend`). Two distinct reads, on purpose: * * - `getProvider` (`GET /providers/:id`) — the full provider row merged * with its version's WHOLE providerConfig, `customInjection` included. * - `getProviderConfigs` (`GET /providers/:id/configs`) — the trimmed * recipe the attestor actually consumes at verification time: a fixed * field projection that explicitly OMITS `customInjection` and adds a * computed `isScriptRequestingClaim` flag instead. * * Errors are thrown as `@hapi/boom` so `remapErrorAsResponse` renders them * the same way as every other tool in this package. */ export declare class ReclaimSdkClient { #private; readonly baseUrl: string; constructor(opts?: { baseUrl?: string; fetch?: typeof fetch; }); /** Full provider + providerConfig (includes `customInjection`). Latest * version when `versionNumber` is omitted. */ getProvider(providerId: string, versionNumber?: string): Promise; /** Trimmed runtime recipe (no `customInjection`; adds * `isScriptRequestingClaim`). Latest version when `versionNumber` is * omitted. */ getProviderConfigs(providerId: string, versionNumber?: string): Promise; }