/** * OpenAlex Diagnostics Capability. * * Keyless bounded probe (DESIGN D2 round-3 ruling): doctor probes * every always-configured science supplier, so the OpenAlex probe is * ONE minimal keyless wire call — still one call, still `per-page=1`, * but it rides the SEARCH surface (`search=scoutline-doctor-probe`). #145: anonymous * OpenAlex search can be 503-paused while the bare works list stays * green, so a works-list-only probe reports capability health it never * tested. Red during an anonymous pause is INTENDED — the row reports * the search capability, not bare connectivity. The politeness posture * applies to it too: * house UA plus the `mailto=` param whenever no api_key is present. * When `diagOptions.probe` is false, `invoke` resolves immediately * without touching the network. */ import type { DiagnosticsCapability } from "../../capabilities/diagnostics.js"; import { type OpenalexTransportDeps } from "./client.js"; export interface OpenalexDiagnosticsCapabilityOptions { readonly env: NodeJS.ProcessEnv; readonly transport?: OpenalexTransportDeps; } export declare function createOpenalexDiagnosticsCapability(options: OpenalexDiagnosticsCapabilityOptions): DiagnosticsCapability; //# sourceMappingURL=diagnostics.d.ts.map