import { Plugin } from '@envelop/types'; export type ContextFactoryFn = (currentContext: TCurrent) => TResult | Promise; type UnwrapAsync = T extends Promise ? U : T; export declare const useExtendContext: any>(contextFactory: TContextFactory) => Plugin>>; export {};