def METHOD_NAME(self, text: str, chunk_size: int) -> List[str]:
    """Split text into chunks up to chunk_size."""
    if text == "":
        return []
    with self.callback_manager.event(
        CBEventType.CHUNKING, payload={EventPayload.CHUNKS: [text]}
    ) as event:
        splits = self._split(text, chunk_size)
        chunks = self._merge(splits, chunk_size)
        event.on_end(
            payload={EventPayload.CHUNKS: chunks},
        )
    return chunks