/** * Checks whether an error is an ERR_STREAM_DESTROYED error, which is a * non-fatal condition that occurs when code writes to a stream after it * has been closed (e.g., client disconnect, cancelled LLM stream, LSP * shutdown, killed subprocess). * * Walks the `.cause` chain up to a depth limit. */ export declare function isStreamDestroyedError(err: unknown, depth?: number): boolean; //# sourceMappingURL=error-classification.d.ts.map