Hi,
The likely sentence (and yes actual imprisonment is the most appropriate outcome given the quantity of drugs) largely depends on the particulars of the charges (has your friend been charged with possession only, or supply or trafficking?) and also the persons criminal history generally (and history of drug offences in particular).
Depending on those matters (and whether or not your friend defends the charge(s) there may well be grounds for a bail application.
Please have your friend give me a call anytime (incl after hours) on 0415 629 918 to discuss the details and i can provide some more specific advice free of charge on the phone.
Cheers