import { HermesSubscription } from '../subscription/hermes.subscription'; import { HermesSubscriber } from './subscriber/hermes.subscriber'; import { HermesObserver } from './hermes.observer'; export interface HermesOperatorFunction { (source: HermesObservable): HermesObservable; } export declare class HermesObservable { protected readonly generatorFn: any; private source; private generatorFinalize; constructor(generator?: (observer?: HermesObserver) => void); pipe(...operations: Array>): HermesObservable; subscribe(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): HermesSubscription; subscribe(subscriber: HermesSubscriber): HermesSubscription; subscribe(observer: Partial>): HermesSubscription; protected createSubscriber(next?: (value: T) => void, error?: (error: any) => void, complete?: () => void): HermesSubscriber; protected getSubscription(subscriber: HermesSubscriber): HermesSubscription; private innerPipe; private isObserver; }