import { ToggleWearableResult, WearableIntegration } from './WearableTypes'; import { FC } from 'react'; import { SwitchProps } from 'react-native'; export interface WearableRowProps { switchProps?: SwitchProps; disabled?: boolean; onError?: (error: any, syncType?: string, enabled?: boolean) => any; onRefreshNeeded: () => any; onShowWearableAuth: (url: string) => any; onShowLearnMore: (url: string) => any; onToggleWearable: (ehrId: string, enabled: boolean) => Promise; onToggleBackgroundSync?: (enabledWearable: WearableIntegration, enabled: boolean) => Promise; onBackfillWearable?: (enabledWearable: WearableIntegration) => Promise; styles?: any; wearable: WearableIntegration; isBackfillEnabled?: boolean; } /** * WearableRow is the heart of this library. It renders a * single wearable user-configuration row which indicates * current status (on/off), error info (e.g. needs re-auth), * a description on how the integration works, and a "Learn * More" button. */ export declare const WearableRow: FC; declare const defaultStyles: (theme: import("../BrandConfigProvider").Theme) => readonly ["WearableRow", import("../BrandConfigProvider/styles/createStyles").NamedStyles>]; declare module './../BrandConfigProvider/styles/types' { interface ComponentStyles extends ComponentNamedStyles { } } export type WearableRowStyles = NamedStylesProp; export {};