import { CallHandler, ExecutionContext, NestInterceptor } from "@nestjs/common";
import { XapiAdapterOptions, XapiRootSchema } from "@xapi-js/core";
import { Observable } from "rxjs";
//#region src/xapi-request-interceptor.d.ts
declare class XapiRequestInterceptor implements NestInterceptor {
  private readonly logger;
  private readonly schema?;
  private readonly options?;
  constructor(schema?: XapiRootSchema, options?: XapiAdapterOptions);
  constructor(options?: XapiAdapterOptions);
  intercept(context: ExecutionContext, next: CallHandler): Promise<Observable<any>>;
}
//#endregion
//#region src/xapi-response-interceptor.d.ts
declare class XapiResponseInterceptor implements NestInterceptor<unknown, string | Uint8Array> {
  private readonly logger;
  private readonly schema?;
  private readonly options?;
  constructor(schema?: XapiRootSchema, options?: XapiAdapterOptions);
  constructor(options?: XapiAdapterOptions);
  intercept(context: ExecutionContext, next: CallHandler): Observable<string | Uint8Array>;
}
//#endregion
export { XapiRequestInterceptor, XapiResponseInterceptor };