import { QueryOptions, QueryKey, QueryObserverOptions } from '@tanstack/query-core';
import { WeavyType } from '../client/weavy';
import { HttpMethodType } from '../types/http.types';
export declare function getApiOptions<T>(weavy: WeavyType, apiKey: QueryKey, apiPath?: string, options?: QueryOptions<T>, body?: BodyInit, method?: HttpMethodType): QueryObserverOptions<T>;
export declare function getApi<T>(weavy: WeavyType, apiKey: QueryKey, apiPath?: string, options?: QueryOptions<T>, body?: BodyInit, method?: HttpMethodType, noCache?: boolean): Promise<T>;
//# sourceMappingURL=api.d.ts.map