| 1 | import { BLOCK_TAGS, TAG_PATTERN, VOID_TAGS } from "./constants"; |
| 2 | |
| 3 | export interface SplitBlocksResult { |
| 4 | /** Fully closed top-level blocks — safe to memoize */ |
| 5 | stable: string[]; |
| 6 | /** Currently streaming fragment (may be incomplete) */ |
| 7 | live: string; |
| 8 | } |
| 9 | |
| 10 | /** |
| 11 | * Splits HTML into stable (completed) top-level blocks and a live tail. |
nothing calls this directly
no outgoing calls
no test coverage detected