import type { ConventionEndpoint, GetDataFromConvention, GetParamsFromConvention, GetQueryFromConvention, RequestOptions } from './utility-types/index.js'; import type { ComposableResponse } from './types.js'; type UseAweasomeHttpOptions = { initOptions?: RequestOptions; lazy?: boolean; ssr?: boolean; cache?: boolean; ttl?: number; componentKey?: string; effect?: (data: GetDataFromConvention, config: { cache: boolean; query?: GetQueryFromConvention; params?: GetParamsFromConvention; isServer: boolean; }) => void; }; declare const useAweasomeHttp: (url: T, { initOptions, lazy, ssr, cache, ttl, componentKey, effect, }?: UseAweasomeHttpOptions) => ComposableResponse; export default useAweasomeHttp;