import { AnyJs } from '../util/misc'; /** * Observer/Subscribe interfaces. */ export declare type NextFn = (value: T) => void; export declare type ErrorFn = (error: Error) => void; export declare type CompleteFn = () => void; export interface PartialObserver { next?: NextFn; error?: ErrorFn; complete?: CompleteFn; } export interface Unsubscribe { (): void; } export declare function isPartialObserver(obj: AnyJs): boolean;