import * as React from 'react'; import { NativeWearableLifecycleHandler, WearableIntegration } from './WearableTypes'; type Props = { children: React.ReactNode; }; export declare const WearableLifecycleContext: React.Context<{ onPreToggle: (wearable: WearableIntegration, enabled: boolean) => Promise; onPostToggle: (wearable: WearableIntegration) => Promise; sanitizeEHRs: (ehrs: WearableIntegration[], legacySort?: boolean) => Promise; onBackfill: (wearable: WearableIntegration) => Promise; }>; export declare const registerWearableLifecycleHandlers: (...items: NativeWearableLifecycleHandler[]) => number; export declare const registerWearableLifecycleHook: (...items: Function[]) => number; export declare const deregisterWearableLifecycleHandlers: (...handlersToRemove: NativeWearableLifecycleHandler[]) => void; export declare const WearableLifecycleProvider: ({ children }: Props) => React.JSX.Element; export declare const useWearableLifecycleHooks: () => { onPreToggle: (wearable: WearableIntegration, enabled: boolean) => Promise; onPostToggle: (wearable: WearableIntegration) => Promise; sanitizeEHRs: (ehrs: WearableIntegration[], legacySort?: boolean) => Promise; onBackfill: (wearable: WearableIntegration) => Promise; }; export {};