No.  An affidavit is a sworn statement that confirms the statements are true under the oath. Declarations are written statements which the author believes to be true but are not sworn before a notary public or a judge.