If the wallet used for it is not hierarchical deterministic (HD) wallet
Now I understand the format. I was considering HD wallet.
public keys or private keys can just be shared between the N-of-N people that created the wallet. And in this case, the public keys are shared and revealed to the public.
Are you sure about it?
I don't think private keys should be shared. In the case, one cosigner can restore the wallet and spend the coin which eventually lose the idea of having a multisig wallet with different cosigners.