A statutory declaration is a statement that someone puts in writing. The person making the statement must sign it to confirm that they’re telling the truth.
They sign it in front of someone who has the legal authority to take oaths or affirmations. This includes lawyers.
Making a statutory declaration is the same as giving evidence in court under oath.