UNPKG

ws-dottie

Version:

Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration

12 lines 778 B
import type { UseQueryResult } from "@tanstack/react-query"; import type { CacheFlushDateInput, CacheFlushDateOutput } from "../../shared/cacheFlushDate"; import type { FetchFunctionParams, QueryHookOptions } from "../../types"; /** * Fetch function for retrieving cache flush timestamp for static fares data */ export declare const fetchCacheFlushDateFares: (params?: FetchFunctionParams<CacheFlushDateInput>) => Promise<CacheFlushDateOutput>; /** * React Query hook for retrieving cache flush timestamp for static fares data */ export declare const useCacheFlushDateFares: (params?: FetchFunctionParams<CacheFlushDateInput>, options?: QueryHookOptions<CacheFlushDateOutput>) => UseQueryResult<CacheFlushDateOutput, Error>; //# sourceMappingURL=cacheFlushDateFares.d.ts.map