[client][library] Move exports to bottom of the file