import type { FetchOptions, ResponseContext, RetryConfig } from './types'; /** * Default retry configuration */ export declare const DEFAULT_RETRY_CONFIG: RetryConfig; /** * Default timeout in milliseconds (30 seconds) */ export declare const DEFAULT_TIMEOUT_MS = 30000; /** * Base context for fetcher operations */ export interface FetcherContext { baseUrl: string; headers: Record; retryConfig: RetryConfig; debug: boolean; timeout: number; } /** * Creates a response context object with Result-like helper methods */ export declare function createResponseContext(isSuccess: boolean, data?: T | null, error?: { message: string; status: number; code?: string; cause?: unknown; details?: Record | null; } | null, response?: Response | null): ResponseContext; /** * Resolves a URL path against the base URL */ export declare function resolveUrl(baseUrl: string, path: string): string; /** * Makes an HTTP request with retry logic */ export declare function fetcher(context: FetcherContext, path: string, options?: FetchOptions): Promise>;