import { Stream } from "effect"; export type WatchConfig = { readonly watch: (callbacks: { readonly onData: (data: T) => void; readonly onError: (error: unknown) => void; }) => () => void; readonly mapError: (error: unknown) => E; }; export declare const fromWatchCallback: (config: WatchConfig) => Stream.Stream; //# sourceMappingURL=stream-adapters.d.ts.map