import { Observable } from 'rxjs'; export type MethodReturning = (...args: any[]) => T; export interface ShareOptions { when?: MethodReturning; } export declare function Share(opts?: ShareOptions): (target: object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor>>) => TypedPropertyDescriptor>>;