FunctionwordSegmentsimport { wordSegments } from 'pixi-silk/text'; function wordSegments(text: string): WordSegment[]; Splits text into words and the runs between them. Parameters# ParameterTypetextstring Returns# WordSegment[]