An affidavit is a voluntary, written, or printed declaration of facts, confirmed by oath of the party making it before a person with authority to administer the oath.