import { type ComponentQuery } from '../../common/chartTypes'; import { type AlarmData, type UseAlarmsOptions } from '../useAlarms'; /** * * Utility hook that adapts queries from source-iotsitewise * into useAlarms hook request objects and settings * * This hook is meant to be used within react-components * charts and widgets to make it easy to call useAlarms * without having to filter different query types * and map clients / settings into the correct * options object. */ export declare const useAlarmsFromQueries: ({ queries, settings, inputPropertyTimeSeriesDataSettings, viewport, transform, }: { queries: ComponentQuery[]; } & Pick, "settings" | "viewport" | "inputPropertyTimeSeriesDataSettings"> & Required, "transform">>) => T[]; //# sourceMappingURL=useAlarmsFromQueries.d.ts.map