import { SubscribableObserver } from './SubscribableObserver'; export declare class SubscribablePromise { private observer; private promise; constructor(executor: (observer: SubscribableObserver) => void | Promise

); subscribe(onNext: (next: T) => void): { unsubscribe: () => boolean; }; next(onNext: (next: T) => void): this; then(onfulfilled?: (value: P) => any, onrejected?: (error: any) => any): Promise & this; catch(onrejected?: (error: any) => any): Promise & this; finally(onfinally?: () => any): Promise

& this; private init; }