/** * Configuration Adapter * Converts our abstracted configuration to fetchff's format * This is the ONLY place where we handle the mapping */ import type { RequestConfig as FetchffConfig } from 'fetchff'; import type { ApiConfig, RequestConfig } from '@plyaz/types/api'; /** * Convert our ApiConfig to fetchff's RequestConfig * This is where the mapping happens between our abstraction and fetchff */ export declare function toFetchffConfig(config: ApiConfig | RequestConfig): FetchffConfig; /** * Convert endpoints to fetchff format * Handles cache configuration conversion for individual endpoints */ export declare function convertEndpointsToFetchff(endpoints: Record): Record; /** * Convert fetchff's config back to our format (for response.config) * Since ApiResponse extends FetchResponse, we mostly just need to handle the config mapping */ export declare function fromFetchffConfig(config: FetchffConfig): RequestConfig; //# sourceMappingURL=adapter.d.ts.map