summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/npm/node_modules/undici/types/interceptors.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'g4f/Provider/npm/node_modules/undici/types/interceptors.d.ts')
-rw-r--r--g4f/Provider/npm/node_modules/undici/types/interceptors.d.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/g4f/Provider/npm/node_modules/undici/types/interceptors.d.ts b/g4f/Provider/npm/node_modules/undici/types/interceptors.d.ts
new file mode 100644
index 00000000..047ac175
--- /dev/null
+++ b/g4f/Provider/npm/node_modules/undici/types/interceptors.d.ts
@@ -0,0 +1,5 @@
+import Dispatcher from "./dispatcher";
+
+type RedirectInterceptorOpts = { maxRedirections?: number }
+
+export declare function createRedirectInterceptor (opts: RedirectInterceptorOpts): Dispatcher.DispatchInterceptor