import { type QueryFunctionContext } from '@tanstack/react-query'; import { type LatestValueQueryFnClient, type UseLatestAssetPropertyValuesOptions } from './types'; import { LatestAssetPropertyValueKeyFactory } from './latestAssetPropertyValueKeyFactory'; /** * useLatestAssetPropertyValues is a hook used to call * getAssetPropertyValue or batchGetAssetPropertyValue * on a list of GetAssetPropertyValueRequest 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 GetAssetPropertyValueRequest * @param refreshRate refresh rate for GetAssetPropertyValueRequest in ms * @returns a list of QueryResults with GetAssetPropertyValueResponse data. */ export declare const useLatestAssetPropertyValues: ({ iotSiteWiseClient, requests, refreshRate, enabled, retry, }: UseLatestAssetPropertyValuesOptions) => import("@tanstack/react-query").UseQueryResult[]; export declare const createLatestAssetPropertyValueQueryFn: (client?: LatestValueQueryFnClient) => ({ queryKey: [{ assetId, propertyId, propertyAlias }], signal, }: QueryFunctionContext>) => Promise; //# sourceMappingURL=useLatestAssetPropertyValues.d.ts.map