GPT and diabetes mellitus: Notably, the ALT/AST ratio demonstrated the most pronounced mediated effect, with the TyG index explaining 76.97% (95% CI: 19.84-78.61%) of its total effect on diabetes risk.