import type { Token } from '@nl-framework/core'; import type { HttpExecutionContext } from '../guards/types'; export interface CallHandler { handle(): Promise; } export interface BaseInterceptor { intercept(context: C, next: CallHandler): Promise | TOutput; } export type BaseInterceptorFunction = (context: C, next: CallHandler) => unknown | Promise; export type BaseInterceptorInstance = BaseInterceptor | BaseInterceptorFunction; export type BaseInterceptorToken = Token> | BaseInterceptorFunction; export type HttpInterceptor = BaseInterceptor; export type InterceptorFunction = BaseInterceptorFunction; export type InterceptorInstance = BaseInterceptorInstance; export type InterceptorToken = BaseInterceptorToken; export type GenericInterceptor = BaseInterceptor; export type GenericInterceptorFunction = BaseInterceptorFunction; export type GenericInterceptorInstance = BaseInterceptorInstance; export type GenericInterceptorToken = BaseInterceptorToken; //# sourceMappingURL=types.d.ts.map