export declare const WITHINGS_API: { readonly BASE_URL: "https://wbsapi.withings.net"; readonly AUTH_URL: "https://account.withings.com/oauth2_user/authorize2"; readonly TOKEN_URL: "https://wbsapi.withings.net/v2/oauth2"; readonly SIGNATURE_URL: "https://wbsapi.withings.net/v2/signature"; }; export declare const ENDPOINTS: { readonly USER: "/v2/user"; readonly MEASURE: "/v2/measure"; readonly MEASURE_V1: "/measure"; readonly SLEEP: "/v2/sleep"; readonly NOTIFY: "/notify"; }; export declare const TOKEN_CONFIG: { readonly EXPIRES_IN: 3600; readonly MAX_RETRIES: 5; readonly BASE_DELAY: 1000; readonly PRE_VALIDATION_ATTEMPTS: 7; readonly DIRECT_REFRESH_ATTEMPTS: 5; readonly INITIAL_DELAY: 1500; readonly TOKEN_REFRESH_DELAY: 2000; readonly VALIDATION_DELAY: 2000; readonly SLEEP_VALIDATION_DELAY: 2500; readonly REQUEST_TIMEOUT: 10000; }; export declare const JITTER: { readonly MIN: 0.8; readonly MAX: 1.2; readonly RANGE: 0.4; }; export declare const CACHE_HEADERS: { readonly 'Cache-Control': "no-cache, no-store, must-revalidate"; readonly Pragma: "no-cache"; readonly Expires: "0"; }; export declare const DEFAULT_SCOPES = "user.info,user.metrics,user.activity,user.sleepevents"; export declare const TOKEN_ERROR_PATTERNS: readonly ["token", "sign", "auth", "unauthorized", "expired", "authentication", "credentials", "access", "permission", "invalid", "oauth", "401", "403", "denied", "reject", "login", "signature", "identity", "verify", "key", "secret"]; export declare const VALIDATION_ENDPOINTS: readonly [{ readonly url: "https://wbsapi.withings.net/v2/user"; readonly action: "getdevice"; }, { readonly url: "https://wbsapi.withings.net/v2/measure"; readonly action: "getactivity"; }, { readonly url: "https://wbsapi.withings.net/v2/sleep"; readonly action: "get"; }, { readonly url: "https://wbsapi.withings.net/v2/sleep"; readonly action: "getsummary"; }]; export declare const REFRESH_STRATEGIES: readonly [{ readonly url: "https://wbsapi.withings.net/v2/user"; readonly action: "getdevice"; readonly waitTime: 1200; readonly description: "User endpoint with getdevice action (most reliable)"; }, { readonly url: "https://wbsapi.withings.net/v2/measure"; readonly action: "getactivity"; readonly waitTime: 1500; readonly description: "Measure endpoint (different service)"; }, { readonly url: "https://wbsapi.withings.net/v2/user"; readonly action: "get"; readonly waitTime: 1800; readonly description: "User endpoint with simpler action"; }, { readonly url: "https://wbsapi.withings.net/v2/sleep"; readonly action: "get"; readonly waitTime: 2000; readonly description: "Sleep endpoint (different service)"; }, { readonly url: "https://wbsapi.withings.net/notify"; readonly action: "list"; readonly waitTime: 2500; readonly description: "Notification endpoint (completely different API area)"; }]; export declare const FALLBACK_ENDPOINTS: readonly [{ readonly url: "https://wbsapi.withings.net/v2/sleep"; readonly action: "get"; readonly waitTime: 2000; }, { readonly url: "https://wbsapi.withings.net/v2/measure"; readonly action: "getactivity"; readonly waitTime: 2200; }, { readonly url: "https://wbsapi.withings.net/v2/user"; readonly action: "getdevice"; readonly waitTime: 2500; }, { readonly url: "https://wbsapi.withings.net/notify"; readonly action: "list"; readonly waitTime: 3000; }]; export declare const RETRY_ENDPOINTS: readonly [{ readonly url: "https://wbsapi.withings.net/v2/user"; readonly action: "get"; }, { readonly url: "https://wbsapi.withings.net/v2/user"; readonly action: "getdevice"; }, { readonly url: "https://wbsapi.withings.net/v2/measure"; readonly action: "getactivity"; }, { readonly url: "https://wbsapi.withings.net/v2/sleep"; readonly action: "get"; }];