/**
 * Lifecycle Middleware
 *
 * Provides onFinish, onError, and onChunk callbacks for observing
 * generation and streaming lifecycle events.
 *
 * This middleware is automatically enabled when lifecycle callbacks
 * (onFinish, onError, onChunk) are passed in GenerateOptions or StreamOptions.
 */
import type { NeuroLinkMiddleware, LifecycleMiddlewareConfig } from "../../types/index.js";
export declare function createLifecycleMiddleware(config?: LifecycleMiddlewareConfig): NeuroLinkMiddleware;
