/** * Copyright (c) 2026 Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0. You may choose either license. */ /** * Node's native Fetch implementation does not support the `agent` option. * Requests with an agent must therefore use node-fetch. */ export declare function hasNodeHttpAgent(options: unknown): boolean; /** * Loads node-fetch only for requests that provide a Node HTTP(S) agent. */ export declare function getNodeFetch(): any; /** * Normalizes the request URI using the URL serializer of the selected Fetch * transport. The signer uses this URI so the signed request target matches the * request target sent to the server. */ export declare function getFetchRequestUri(uri: string, options: unknown): string; /** * Executes a request with the selected Fetch implementation. */ export declare function fetchWithSelectedTransport(uri: string, options: RequestInit | undefined): Promise;