import { FetchOptions as _FetchOptions } from 'ofetch'; import type { HTTPMethod } from 'vinxi/http'; export * from 'ofetch'; export interface FetchOptions extends _FetchOptions { method?: HTTPMethod | Lowercase; _raw?: boolean; } export interface ServiteFetch { (url: string, options?: FetchOptions): Promise; raw: (url: string, options?: FetchOptions) => Promise; } export declare const $fetch: ServiteFetch; export declare const ofetch: ServiteFetch; export declare function getFetch(): ServiteFetch; interface CustomFetch { (url: string, options?: FetchOptions): Promise; raw?: (url: string, options?: FetchOptions) => Promise; } export declare function setFetch(fetch: CustomFetch): void;