import { Stream, MemoryStream } from 'xstream'; import { ReactElement } from 'react'; import { Scope } from './scope'; declare type Sink = Stream>; export declare class ReactSource

{ _selector: string | symbol | null; _scope: Scope; _props$: MemoryStream

; _childScopes: Map; constructor(scope?: Scope, selector?: string | symbol | null, props$?: MemoryStream

); select(selector: string | symbol): ReactSource; events(eventType: string): Stream; props(): MemoryStream

; private getChildScope; isolateSink(sink: Sink, scopeId: string): Sink; isolateSource(source: ReactSource, scopeId: string): ReactSource; } export {};