import { Noop } from '../types'; export declare type Observer = { next: (value: T) => void; }; export declare type Subscription = { unsubscribe: Noop; }; export declare type Subject = { readonly observers: Observer[]; subscribe: (value: Observer) => Subscription; unsubscribe: Noop; } & Observer; export default function createSubject(): Subject; //# sourceMappingURL=createSubject.d.ts.map