import "./types.mjs"; import { mergeHeaders } from "./utils.mjs"; //#region src/storage-node/client.d.ts type Fetch = (url: RequestInfo, init?: RequestInit) => Promise; type StorageNodeClientOptions = { /** * An optional custom fetch function. * * If not provided, defaults to the global `fetch` function (`globalThis.fetch`). * * @default globalThis.fetch */ fetch?: Fetch; /** * An optional timeout for requests. * @default 30_000ms (30 seconds) */ timeout?: number; /** * Callback for individual network errors. */ onError?: (error: Error) => void; }; type RequestOptions = { nodeUrl: string; timeout?: number; headers?: ReturnType; } & Omit; //#endregion export { RequestOptions, StorageNodeClientOptions }; //# sourceMappingURL=client.d.mts.map