The most common and most likely answer to this crossword clue is the 12 plus 4 plus 2 plus 6 letter word PRESIDENTIAL OATH OF OFFICE
I've seen this crossword clue in The Guardian
P
R
E
S
I
D
E
N
T
I
A
L
O
A
T
H
O
F
O
F
F
I
C
E
Buddy explains!
The straight part
We know that "solemn declaration" is the straight/definition part of the clue. The straight part is often a synonym or definition, in this case solemn declaration = presidential oath of office.The cryptic/wordplay part
In cryptic crossword there's often an wordplay/cryptic part as well.This part involves a more complex hint, such as an anagram, homophone, hidden word, etc.
Sadly, We don't have an explanation for this specific crossword clue yet.