import { AxiosResponse, AxiosError } from 'axios';
export interface ResponseContext {
    isFileStream?: boolean | undefined;
    response?: AxiosResponse;
    error?: AxiosError;
}
export type Middleware<T> = (context: T, next: () => Promise<void>) => Promise<void>;
export type ResponseMiddleware = (context: ResponseContext, next: () => Promise<void>) => Promise<void>;
