export declare const restFetch: (url: string, options?: { body?: object; params?: Record; form?: boolean; acceptJson?: boolean; bearerToken?: string; method?: "POST" | "GET"; global?: { fetch?: typeof fetch; }; headers?: Record; }) => Promise<{ data: null; error: A; } | { data: T; error: null; }>; //# sourceMappingURL=rest-fetch.d.ts.map