import { type IoTSiteWiseClient } from '@aws-sdk/client-iotsitewise'; import type { AlarmDataInternal } from '../types'; export interface UseLatestAlarmPropertyValuesOptions { alarmPropertyFieldName: keyof AlarmDataInternal; iotSiteWiseClient?: IoTSiteWiseClient; alarmDataList?: AlarmDataInternal[]; enabled?: boolean; } /** * useLatestAlarmPropertyValues is a hook used to fetch the latest * asset property value for a SiteWise alarm composite property * * @param alarmPropertyFieldName is the name of an alarm property field * 'state' | 'type' | 'source' * @param iotSiteWiseClient is an AWS SDK IoT SiteWise client * @param alarmDataList is a list of AlarmData * @param enabled will manually disable the hook * @returns a list of AlarmData with the latest property value injected * into the associated property field */ export declare function useLatestAlarmPropertyValues({ alarmPropertyFieldName, iotSiteWiseClient, alarmDataList, enabled, }: UseLatestAlarmPropertyValuesOptions): AlarmDataInternal[]; //# sourceMappingURL=useLatestAlarmPropertyValues.d.ts.map