import { DailyActivityResponse, PersonalInfoResponse, HeartRateResponse, SessionResponse, TagResponse, WorkoutResponse } from "./domains"; import { SleepResponse_V1, ReadinessResponse_V1 } from "./types/oura/response/v1"; import Response from "./types/Response"; export type RequestProps = { startDate?: string; endDate?: string; nextToken?: string; }; export type HeartRateRequestProps = { startDate_timestamp?: string; endDate_timestamp?: string; nextToken?: string; }; export interface ApiClientInterface { fetch(path: string, queryParameters?: string): Promise>; } export declare class OuraApiV2Client { api: ApiClientInterface; constructor(accessToken: string, api?: ApiClientInterface); dailyActivity(props?: RequestProps): Promise; personalInfo(): Promise; heartRate(props?: HeartRateRequestProps): Promise; sessions(props?: RequestProps): Promise; tags(props?: RequestProps): Promise; workouts(props?: RequestProps): Promise; /** * @deprecated * @see https://cloud.ouraring.com/docs/ */ sleep_v1(props?: RequestProps): Promise; /** * @deprecated * @see https://cloud.ouraring.com/docs/ */ readiness_v1(props?: RequestProps): Promise; }