/**
 * `mailpouch doctor` — print the install/connect diagnosis and exit.
 *
 * Offline admin command (no Bridge connect, no MCP transport). Prints the same
 * diagnosis the `setup_status` MCP tool returns, in human form, plus the single
 * next step. Exit code is 0 when the install is `ready`, 1 otherwise — so it can
 * gate a script (`mailpouch doctor && …`). `--json` emits the structured result.
 *
 * See src/diagnostics/setup-status.ts for the shared decision logic.
 */
export interface DoctorCliDeps {
    out?: (line: string) => void;
    err?: (line: string) => void;
}
export declare function runDoctorCli(argv: string[], deps?: DoctorCliDeps): Promise<number>;
//# sourceMappingURL=doctor-cli.d.ts.map