Close active ion-fab list container programmatically?

On the docs [ion-fab: Floating Action Button for Android and iOS Ionic Apps] it shows that I can use close() to ‘Close an active FAB list container.’, but how do I integrate that to my typescript file? ie. what do I have to import and how do I reference to the FAB button?