I'm really confused by the following statement in an index.ts:
import z from 'path/to/z';
export const { x: y } = z;
What does the second line actually export and how does the value of z correlate with it? Also, what purpose does this kind of export serve?