UNPKG

decent-sdk

Version:

SDK for the Decent API

11 lines (10 loc) 398 B
import { Meta } from '../../core/types/Api'; import { QueryReturn, TanstackQueryOptions } from '../types'; type ApiInfoParams = TanstackQueryOptions; /** * React hook to fetch API metadata information. * * @returns {QueryReturn<Meta>} Object with { data: Meta, loading: boolean, error: Error | null } */ export declare const useApiInfo: (params: ApiInfoParams) => QueryReturn<Meta>; export {};