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