pub fn wait_for_program_availability( program_id: &str, endpoint: &str, network_path: &str, timeout_secs: u64, ) -> Result<(), Error>