Let $(M,g)$ be a smooth Riemannian manifold. The celabrated kernel theorem of Schwartz shows that for any linear and continuous operator $A:C_{c}^{\infty}(M)\to C^{\infty}(M)$, there exists a distribution $K_{A}\in\mathcal{D}^{\prime}(M\times M)$ such that $$\langle A(f),g\rangle_{M}=\langle K_{A},g\otimes f\rangle_{M\times M}$$
where $\langle u,f\rangle_{M}=u(f)$ denotes the distributional pairing for $u\in\mathcal{D}^{\prime}(M)$ and $f\in C^{\infty}_{c}(M)$ and where $A(f)\in\mathcal{D}^{\prime}(M)$ is the distribution $\langle A(f),g\rangle_{M}:=\int_{M}A(f)g\,\mathrm{vol}_{g}$.
Let $\mathcal{S}\subset C^{\infty}(M)$ be a submodule and $\mathcal{S}_{c}:=\mathcal{S}\cap C^{\infty}_{c}(M)$. Under which assumptions on $\mathcal{S}$ is there an analogues theorem as Schwartz kernel theorem for linear and continuous operators $A:\mathcal{S}_{c}\to\mathcal{S}$ and suitable kernels living in some subspace of $\mathcal{D}^{\prime}(M\times M)$?
I am actually interested in the bundle-valued case, but lets not complify things.