import { Injector } from '@angular/core';
import { Method } from '@rxap/pattern';
export declare function ToMethodWithInjectionContext<ReturnType = any, Parameter = any, MethodType extends Method<ReturnType, Parameter> = Method<ReturnType, Parameter>>(call: ((parameters?: Parameter, ...args: any[]) => Promise<ReturnType> | ReturnType), injector: Injector, metadata?: any): MethodType;
export declare function ToMethodWithInjectionContextFactory<ReturnType = any, Parameter = any, MethodType extends Method<ReturnType, Parameter> = Method<ReturnType, Parameter>>(call: ((parameters?: Parameter, ...args: any[]) => Promise<ReturnType> | ReturnType), metadata?: any): (injector: Injector) => MethodType;
