type FetchInput = Parameters<typeof fetch>[0];
type FetchInit = Parameters<typeof fetch>[1];
type FetchImpl = (input: FetchInput, init?: FetchInit) => Promise<Response>;
type Dispatcher = {
    dispatch(arg: unknown, opts: unknown, handler: unknown): void;
    close(): Promise<void>;
    destroy(error?: Error): Promise<void>;
};
type ProxyAgentCtor = new (proxy: string | {
    uri: string;
}) => Dispatcher;
export declare function createProxyAwareFetch(fetchImpl: FetchImpl, ProxyAgent: ProxyAgentCtor): FetchImpl;
export declare function installProxyFetch(): void;
export {};
