import Anthropic from '@anthropic-ai/sdk'; import type { VerifierProvider } from '../verify/verifier-factory.js'; export type PingResult = { ok: true; } | { ok: false; reason: string; } | { skipped: true; reason: string; }; export type ProviderPing = (provider: VerifierProvider, env: NodeJS.ProcessEnv, deps?: { client?: Anthropic; cwd?: string; }) => Promise; /** * Minimal live auth check. Anthropic only: one 1-token message proves the key * works. `local`/`mock` are skipped (live-checking an arbitrary endpoint is out * of scope for this slice). The client is injectable so tests never hit the network. * `deps.cwd` (default `process.cwd()`) is where a `.env` file is discovered — a key * found there is treated the same as one exported into the env (AC-1). */ export declare const pingProvider: ProviderPing; //# sourceMappingURL=ping.d.ts.map