@hashbrownai/core
Version:
Runtime helpers for Hashbrown AI
9 lines • 414 B
TypeScript
import { s } from '../schema';
export declare class StreamSchemaParser {
dataString: string;
schema: s.HashbrownType;
constructor(schema: s.HashbrownType);
parse(item: string, assumeFinishedMessage: boolean): any;
}
export declare function AsyncParserIterable(iterable: AsyncIterable<string>, schema: s.HashbrownType): AsyncIterableIterator<any>;
//# sourceMappingURL=streaming-json-parser.d.ts.map