This API is only available in standalone mode. The API looks like this:
type IParsedXFDF = {
annotations: List<Annotation>
formFieldValues?: Record<string, unknown>
errors?: {
errorMessage: string
type: string
}[]
}
parseXFDF(xfdf:string): Promise<IParsedXFDF>