/**
 * Parses simple streaming JSON chunks of the format {"key": "content..."}
 * and yields only the content chunks, consuming the JSON structure.
 *
 * @param key - The JSON key to extract content from (e.g., "result", "text", "content")
 * @returns A function that takes a chunk and yields content chunks
 *
 * @example
 * ```ts
 * const parse = createJsonStreamParser("result");
 * for (const chunk of parse('{"result": "Hello')) {
 *   console.log(chunk); // Outputs: "Hello"
 * }
 * for (const chunk of parse(' world"}')) {
 *   console.log(chunk); // Outputs: " world"
 * }
 * ```
 */
export declare function createJsonStreamParser(key?: string): (input: string) => Generator<string>;
//# sourceMappingURL=json-stream-parser.d.ts.map