import { type IoTSiteWiseClient } from '@aws-sdk/client-iotsitewise'; import { type Viewport } from '@iot-app-kit/core'; import { type AnomalyObjectDataSource } from '../../data'; export type SiteWiseAnomalyDataSourceOptions = { client?: IoTSiteWiseClient; assetId?: string; assetModelId?: string; predictionDefinitionId?: string; viewport?: Viewport; liveModeQueryRefreshRate?: number; styles?: AnomalyObjectDataSource['value']['styles']; }; /** * Query to get parsed Anomaly Results from SiteWise * These events are mapped into an Anomaly datasource * to be used within appkit charts / widgets * * Events are fetched by asset or assetModel. * The anomnaly model is determined by using the assetId * to get the assetModelId or by using the assetModelId directly, * and the predictionDefinitionId as the assetModelCompositeModelId. * * The AssetPropertyValue complex types are parsed into plain * javascript objects */ export declare const useSiteWiseAnomalyDataSource: (options?: SiteWiseAnomalyDataSourceOptions) => AnomalyObjectDataSource; //# sourceMappingURL=useSiteWiseAnomalyDataSource.d.ts.map