export types to client