Yep!
import type { SerializedEditorState } from 'lexical'
Does not automatically contain types for all the actual nodes you have enabled in your editor though, so you will have to use type assertion
Thanks!
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.