import { type ParsedArgs } from './args.js'; /** * `nexus doctor` checks a deployment and exits 1 when a check fails, or with `--strict` when one * warns. Without `--module` it checks what it can see from the shell: Node.js, packages, credentials, * and the model registry. A module reaches the rest, exporting any of: * * ```js * // doctor.mjs * export const database = { client: pool }; // or `client` alone, as for nexus db * export const redis = new Redis(process.env.REDIS_URL); * export const operations = new PostgresOperationStore(pool); * export const ai = client; * export const deployment = { replicas: 3, stores: { checkpointer, state, tenantUsage } }; * export const close = async () => { await pool.end(); redis.disconnect(); }; * ``` */ export declare function runDoctorCommand({ flags }: ParsedArgs): Promise;