Depth textures and fragment program lookups

Anyone experienced where the depth component goes after a lookup instruction?

It may be interpreted as a luminance texture (I guess I read it on ARB_depth_texture), in that case, where the luminance component will go? I would suppose it would go to (L, L, L, 1).
Can someone confirm that?