Definitions of dying declaration
a statement made by a person who believes they will be dead soon about the manner or cause of their death
Her dying declaration was recorded by a magistrate (=judicial officer) in which she stated that her husband had stabbed her.