import type { SetRequired } from 'type-fest'; import type { AlarmData, UseAlarmsOptions, UseAlarmOptionsWithoutTransform } from './types'; /** * useAlarms function with no transform callback provided in the options. * The default transform applied to AlarmData is the identity transfrom. */ declare function useAlarms(options?: UseAlarmOptionsWithoutTransform): AlarmData[]; /** * useAlarms function with transform provided in the options. * * The return type of the transform function is used to dictate the return type * of useAlarms hook. These are tied together by the generic T. * * options are required for this to apply. */ declare function useAlarms(options: SetRequired, 'transform'>): T[]; export { useAlarms }; //# sourceMappingURL=useAlarms.d.ts.map