//#region src/effetch.d.ts
type EffetchOptions = RequestInit & {
  /** Primarily for SvelteKit's load function */
  event?: {
    fetch: typeof fetch;
  };
  responseType?: "json" | "text";
};
declare function effetch<T>(input: RequestInfo | URL, init?: EffetchOptions & {
  responseType?: "json";
}): Promise<T>;
declare function effetch(input: RequestInfo | URL, init: EffetchOptions & {
  responseType: "text";
}): Promise<string>;
//#endregion
export { effetch };