Depends on what deal she was offered and what she agreed to. If the feds already had a bunch of evidence against her (or believed they soon would), they may have offered a plea deal (less-serious charges, shorter sentence). If they had nothing, but knew she'd have a lot of dirt, they may have offered her immunity. I'm sure the specifics of the deal (if any) will come to light soon enough.