import { S as ChannelItem, o as Channel, r as isChannelRef, t as extractChannelRefs, u as ISdk, x as ChannelDirection } from "./utils-tcJ0Rzg-.mjs"; import { IStream } from "./stream.mjs"; //#region src/helpers.d.ts /** * Create a streaming channel pair for worker-to-worker data transfer. * * Free-function form of the previous `ISdk.createChannel` instance method. */ declare function createChannel(iii: ISdk, bufferSize?: number): Promise; /** * Register a custom stream implementation by wiring its 5 callable methods * to `stream::get/set/delete/list/list_groups`. * * Free-function form of the previous `ISdk.createStream` instance method. */ declare function createStream(iii: ISdk, streamName: string, stream: IStream): void; //#endregion export { ChannelDirection, ChannelItem, createChannel, createStream, extractChannelRefs, isChannelRef }; //# sourceMappingURL=helpers.d.mts.map