decent-sdk
Version:
SDK for the Decent API
11 lines (10 loc) • 405 B
TypeScript
import { Health } from '../../core/types/Api';
import { QueryReturn, TanstackQueryOptions } from '../types';
type ApiHealthParams = TanstackQueryOptions;
/**
* React hook to fetch API health status.
*
* @returns {QueryReturn<Health>} Object with { data: Health, loading: boolean, error: Error | null }
*/
export declare const useApiHealth: (params: ApiHealthParams) => QueryReturn<Health>;
export {};