import { Observer, PartialObserver } from './Observer'; import { Subscription } from './Subscription'; export declare class Subscriber extends Subscription implements Observer { static create(next?: (x?: T) => void, error?: (e?: any) => void, complete?: () => void): Subscriber; syncErrorValue: any; syncErrorThrown: boolean; syncErrorThrowable: boolean; protected isStopped: boolean; protected destination: PartialObserver; constructor(destinationOrNext?: PartialObserver | ((value: T) => void), error?: (e?: any) => void, complete?: () => void); next(value?: T): void; error(err?: any): void; complete(): void; unsubscribe(): void; protected _next(value: T): void; protected _error(err: any): void; protected _complete(): void; }