import { PartialObserver, Subscribable, Unsubscribable } from 'rxjs'; import { Action, FlowStart, Transition } from './flow.model'; export declare class Flow implements Subscribable { private transitions; private flow$; constructor(flowStart: FlowStart, transitions: Transition[]); subscribe(observer?: PartialObserver): Unsubscribable; subscribe(next: null, error: null, complete: () => void): Unsubscribable; subscribe(next: null, error: (error: any) => void, complete?: () => void): Unsubscribable; subscribe(next: (value: E) => void, error: null, complete: () => void): Unsubscribable; subscribe(next?: (value: E) => void, error?: (error: any) => void, complete?: () => void): Unsubscribable; }