/** * Centralised Anthropic API key management. * * Provides read/write/validate operations for the Anthropic API key * used by the public agent. All consumers import from this module * instead of inlining the env-var-then-file lookup pattern. * * Follows the same shape as cloudflare/mcp/src/lib/cloudflared.ts * (readToken, writeToken, hasToken, validateToken). */ export declare function readKey(): string | null; export declare function writeKey(key: string): void; export declare function hasKey(): boolean; export declare function deleteKey(): void; export type KeyStatus = "valid" | "billing" | "auth_error" | "missing" | "error"; export interface KeyValidation { status: KeyStatus; message: string; } export declare function validateKey(key?: string): Promise; export declare function keyFilePath(): string; //# sourceMappingURL=index.d.ts.map