import { QueryOptions, QueryKey, QueryObserverOptions, MutationOptions, MutationObserver } 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>;
export declare function getApiMutationOptions<T>(weavy: WeavyType, apiKey: QueryKey, apiPath?: string, options?: MutationOptions<T>, method?: HttpMethodType): MutationOptions<T, Error, BodyInit>;
export declare function getApiMutation<T>(weavy: WeavyType, apiKey: QueryKey, apiPath?: string, options?: MutationOptions<T>, method?: HttpMethodType): MutationObserver<T, Error, BodyInit, unknown>;
//# sourceMappingURL=api.d.ts.map