import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
/**
 * Idiomatic TanStack Query wrapper around apiGet.
 */
export declare function useApiQuery<T = unknown>(baseURL: string, url: string, config?: Record<string, unknown>, options?: Omit<UseQueryOptions<T, Error>, 'queryKey' | 'queryFn'>): UseQueryResult<T>;
/**
 * Drop-in replacement for useAxiosGet.
 * Returns the same `[{ data, loading, error }, refetch]` tuple shape.
 */
export declare function useApiQueryLegacy<T = unknown>(baseURL: string, url: string, config?: Record<string, unknown>, isManual?: boolean, useCache?: boolean): [{
    data: T | undefined;
    loading: boolean;
    error: Error | null;
}, () => void];
//# sourceMappingURL=useApiQuery.d.ts.map