import type { Settings } from '../client-settings.js'; import type { ResponseUnmarshaller, ScwRequest } from './types.js'; /** * Builds Request from {@link ScwRequest} & {@link Settings}. * * @param request - A scaleway request * @param settings - The settings * @returns A fetch Request * * @internal */ export declare const buildRequest: (request: Readonly, settings: Readonly) => Request; export type Fetcher = (request: Readonly, unwrapper?: ResponseUnmarshaller) => Promise; /** * Builds a resource fetcher. * * @param settings - The {@link Settings} object * @param httpClient - The HTTP client that should be used to call the API * @returns The fetcher * * @internal */ export declare const buildFetcher: (settings: Settings, httpClient: typeof fetch) => (request: Readonly, unwrapper?: ResponseUnmarshaller) => Promise;