| 41 | |
| 42 | /** A minimal `{ append(fullText), finish() }` streaming sink. */ |
| 43 | export interface TextStream { |
| 44 | /** Replace the in-flight buffer with the accumulated text. */ |
| 45 | append(fullText: string): void; |
| 46 | /** Flush the final state and close the stream. */ |
| 47 | finish(): Promise<void>; |
| 48 | } |
| 49 | |
| 50 | /** The Slack streaming calls, injected so this file stays SDK-free. */ |
| 51 | export interface NativeStreamTransport { |
no outgoing calls
no test coverage detected
searching dependent graphs…