agsamantha/node_modules/langsmith/dist/singletons/fetch.d.ts
2024-10-02 15:15:21 -05:00

11 lines
444 B
TypeScript

/**
* Overrides the fetch implementation used for LangSmith calls.
* You should use this if you need to use an implementation of fetch
* other than the default global (e.g. for dealing with proxies).
* @param fetch The new fetch functino to use.
*/
export declare const overrideFetchImplementation: (fetch: (...args: any[]) => any) => void;
/**
* @internal
*/
export declare const _getFetchImplementation: () => (...args: any[]) => any;