import { type ResponseMap } from 'ofetch'; import type { HttpType } from './client'; import type { ResponseType } from './omySetup'; export declare const omyHttp: ({ api, locale, storageClient, headersCustom, localeCustom, }: HttpType) => { get: (endpoint: string, options?: Record) => Promise; post: (endpoint: string, params: Record | BodyInit, options?: Record) => Promise; put: (endpoint: string, params: Record | BodyInit, options?: Record) => Promise; delete: (endpoint: string) => Promise; raw: >(endpoint: string, options: Record & { responseType: keyof ResponseMap; }) => Promise<{ headers: Headers; _data: Response_5; }>; };