/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { ITask } from "@workglow/task-graph"; /** * Subscribes to `stream_chunk` text-delta events on a task and returns the * accumulated text. Clears on `stream_end` or when the task status transitions * to COMPLETED. */ export declare function useTaskStreamText(task: ITask): string;