import type { Credentials } from "./credentials.js"; export type KeyProbe = { kind: "accepted"; } | { kind: "rejected"; message: string; } | { kind: "unknown"; }; export type ProbeTarget = { url: string; name: string; method: "GET" | "POST"; }; /** * One request, no tokens spent: only the answer's status decides, and only an * auth refusal is read as a bad key. A provider outage or a moved route says * nothing about the credential and must never be reported as one. */ export declare const probeKey: (creds: Exclude, target?: ProbeTarget) => Promise; //# sourceMappingURL=keyProbe.d.ts.map