import { type QueryFunctionContext } from '@tanstack/react-query'; import { type HistoricalValueQueryFnClient, type UseHistoricalAssetPropertyValuesOptions } from './types'; import { HistoricalAssetPropertyValueKeyFactory } from './historicalAssetPropertyValueKeyFactory'; /** * useHistoricalAssetPropertyValues is a hook used to call * getAssetPropertyValueHistory or batchGetAssetPropertyValueHistory * on a list of GetAssetPropertyValueHistoryRequest requests * * batch apis are preferred when available but may * not be available on all clients. For example, * clients at the edge currently don't support * batch apis. * * @param iotSiteWiseClient is an AWS SDK IoT SiteWise client * @param enabled will manually disable the hook * @param requests list of GetAssetPropertyValueHistoryRequest * @param refreshRate refresh rate for GetAssetPropertyValueHistoryRequest in ms * @param maxNumberOfValues maximum number of asset property values to request * within a given viewport * - default: Infinity (which will request all values within the given viewport) * @param viewportMode How to interpret the viewport when requestng data. * @returns a list of QueryResults with GetAssetPropertyValueHistoryResponse data. */ export declare const useHistoricalAssetPropertyValues: ({ iotSiteWiseClient, enabled, requests, refreshRate: passedInRefreshRate, viewport, retry, fetchMode, maxNumberOfValues, }: UseHistoricalAssetPropertyValuesOptions) => import("@tanstack/react-query").UseQueryResult[]; export declare const createHistoricalAssetPropertyValueQueryFn: (client?: HistoricalValueQueryFnClient) => ({ queryKey: [{ assetId, propertyId, propertyAlias, viewport, qualities, timeOrdering, maxNumberOfValues, fetchMode, },], signal, }: QueryFunctionContext>) => Promise; //# sourceMappingURL=useHistoricalAssetPropertyValues.d.ts.map