type StreamEvent = Record<string, unknown>;
type StreamEventHandler = (event: StreamEvent) => void;
type ParserKind = string;
export declare function createJsonEventStreamHandler(kind: ParserKind, onEvent: StreamEventHandler): {
    feed: (chunk: string) => void;
    flush: () => void;
};
export {};
