UNPKG

@tracked/health

Version:
17 lines 535 B
import { SleepSession } from "../.."; export declare enum AuthStatus { Unknown = "UNKNOWN", Authorized = "AUTHORIZED", NotAuthorized = "NOT_AUTHORIZED" } export declare function useSleep(date: string): { sleepSessions: SleepSession[]; totalSleepDuration: number; sleepStageBreakdown: Record<string, number>; loading: boolean; error: string | null; isInitialized: boolean; requestInitialization: () => Promise<boolean>; refetch: () => Promise<void>; }; //# sourceMappingURL=use-sleep.d.ts.map