decent-sdk
Version:
SDK for the Decent API
9 lines (8 loc) • 301 B
TypeScript
import { Meta } from '../../core/types/Api';
import { QueryReturn } from '../types';
/**
* React hook to fetch API metadata information.
*
* @returns {QueryReturn<Meta>} Object with { data: Meta, loading: boolean, error: Error | null }
*/
export declare const useApiInfo: () => QueryReturn<Meta>;