import { PartialObserver } from '../Observer'; import { Subscriber } from '../Subscriber'; export declare function toSubscriber(nextOrObserver?: PartialObserver | ((value: T) => void), error?: (error: any) => void, complete?: () => void): Subscriber;