import { DfnsBaseApiOptions } from '../types/generic'; export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE'; export type FetchOptions = { method: HttpMethod; headers?: Record; body?: string | unknown; file?: { bytes: Uint8Array; name?: string; }; apiOptions: T; }; export type Fetch = (resource: string | URL, options: FetchOptions) => Promise; export declare const fullUrl: (fetch: Fetch) => Fetch; export declare const jsonSerializer: (fetch: Fetch) => Fetch; export declare const formDataSerializer: (fetch: Fetch) => Fetch; export declare const errorHandler: (fetch: Fetch) => Fetch; export declare const catchPolicyPending: (fetch: Fetch) => Fetch; export declare const dfnsAuth: (fetch: Fetch) => Fetch; export declare const simpleFetch: Fetch;