From dc04ca93060443a3ce6263a476f4dafc66afc6b3 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Sat, 28 Oct 2023 07:21:00 +0200 Subject: Add arkose_token to OpenaiChat --- .../npm/node_modules/undici/types/balanced-pool.d.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 g4f/Provider/npm/node_modules/undici/types/balanced-pool.d.ts (limited to 'g4f/Provider/npm/node_modules/undici/types/balanced-pool.d.ts') diff --git a/g4f/Provider/npm/node_modules/undici/types/balanced-pool.d.ts b/g4f/Provider/npm/node_modules/undici/types/balanced-pool.d.ts new file mode 100644 index 00000000..d1e93758 --- /dev/null +++ b/g4f/Provider/npm/node_modules/undici/types/balanced-pool.d.ts @@ -0,0 +1,18 @@ +import Pool from './pool' +import Dispatcher from './dispatcher' +import { URL } from 'url' + +export default BalancedPool + +declare class BalancedPool extends Dispatcher { + constructor(url: string | string[] | URL | URL[], options?: Pool.Options); + + addUpstream(upstream: string | URL): BalancedPool; + removeUpstream(upstream: string | URL): BalancedPool; + upstreams: Array; + + /** `true` after `pool.close()` has been called. */ + closed: boolean; + /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */ + destroyed: boolean; +} -- cgit v1.2.3