import type { ComponentNameChecker, ParseResult } from './types'; /** * Creates a streaming (incremental) parser for OpenUI Lang. * * Maintains an internal text buffer that grows with each push(chunk) call. * On each push, appends the chunk to the buffer and re-parses the full buffer. * * TODO: This is O(n^2) due to full re-parsing on each push. For v2, implement * incremental parsing that only re-processes changed/new lines. */ export declare function createStreamingParser(checker?: ComponentNameChecker): { push(chunk: string): ParseResult; getResult(): ParseResult; };