import { ProjectionSpec } from "../types.js"; import { Channel, Event } from "@langchain/protocol"; //#region src/stream/projections/channel.d.ts interface ChannelProjectionOptions { /** * Maximum number of events retained in the projection snapshot. * Defaults to 4096 so replay-backed discovery hooks can tolerate * bursty token/media streams without dropping early lifecycle events. */ bufferSize?: number; /** * Whether to open a real subscription and receive replayed history. * Defaults to true. Set false for live-only root-bus inspection when * replay is unnecessary. */ replay?: boolean; } declare function channelProjection(channels: readonly Channel[], namespace: readonly string[], options?: ChannelProjectionOptions): ProjectionSpec; //#endregion export { ChannelProjectionOptions, channelProjection }; //# sourceMappingURL=channel.d.ts.map