HeadingLevel:
    | 1
    | 2
    | 3
    | 4
    | 5
    | 6

A heading level. The editor renders 1 through 6.

const level: HeadingLevel = 2