export declare class DaemonNotRunningError extends Error { constructor(); } interface LibConfig { throwOnNoDaemon: boolean; } /** * Configure the library guard. Last call wins. * Resolution order: explicit configure() > env CLAUDESTAT_LIB_THROW_ON_NO_DAEMON > default true */ export declare function configure(opts: Partial): void; /** * Probe the daemon's /health endpoint via Node http. Cross-platform. * Throws DaemonNotRunningError if the daemon is unreachable and throwOnNoDaemon is true. * If throwOnNoDaemon is false, warns once and proceeds (cached). */ export declare function checkDaemonOrThrow(): void; /** * Wrap a dbOps object with a Proxy that triggers checkDaemonOrThrow() on first * property access. Pure-module re-exports never touch this wrapper. * After the first successful check, access passes through without re-probing. */ export declare function wrapDbOps(original: T): T; export {};