* refactor(components): [alert] use type-based definitions * refactor: fix type error * docs: update
import type