/** * Jina AI credential resolution. * * Single source of truth for the Jina AI API key (`JINA_API_KEY`). * * Capability-aware configuration (8J.1): * - Reader (`r.jina.ai`) is keyless — available without `JINA_API_KEY`. * - Search (`s.jina.ai`), DeepSearch (`deepsearch.jina.ai`), Quota, and * the Search-based diagnostics probe all require `JINA_API_KEY`. Live * probes confirmed they return HTTP 401 without a key. * * `isJinaConfigured` is capability-aware: when called with a specific * `capabilityId`, it checks the key requirement for that capability. * Without a `capabilityId`, it returns `true` whenever the Provider can * serve at least one capability keylessly (Reader), so the Doctor listing * and global availability checks still surface Jina. */ import type { ProviderCapability } from "../types.js"; /** Credential environment names read by this module (#232 derivation pin). */ export declare const ENV_NAMES: readonly ["JINA_API_KEY"]; export declare function resolveJinaApiKey(env: NodeJS.ProcessEnv): string | undefined; export declare function isJinaConfigured(env: NodeJS.ProcessEnv, capabilityId?: ProviderCapability): boolean; //# sourceMappingURL=credentials.d.ts.map