[feature] export some struct xg/fd/pxy apis