export declare const DAEMON_HEALTH_PROTOCOL = "read-my-chatgpt-daemon-health-v1"; export type DaemonHealthState = "ok" | "stopping"; export declare class DaemonHealthVerificationError extends Error { constructor(message: string); } export declare function createDaemonHealthChallenge(): string; export declare function isDaemonHealthChallenge(challenge: unknown): challenge is string; export declare function createDaemonHealthProof(bearerToken: string, challenge: string, state: DaemonHealthState): string; export declare function validDaemonHealthProof(proof: unknown, bearerToken: string, challenge: string, state: DaemonHealthState): boolean; export declare function fetchVerifiedDaemonHealth(healthUrl: URL, bearerToken: string, timeoutMs: number): Promise;