/** * Shared types and utilities for collection tool handlers. * * All 4 collection tools (recovery, sleep, workout, cycle) use the same * query parameter shape and query string building logic. * * Enhanced date expressions ("today", "last 7 days", etc.) are resolved * to ISO 8601 before sending to the WHOOP API. */ /** Input params shared by all collection endpoints */ export interface CollectionParams { start?: string; end?: string; limit?: number; nextToken?: string; } /** * Build a query string from collection params. * Resolves enhanced date expressions in start/end to ISO 8601. * Omits undefined values. Returns empty string if no params are set. * * @param params - Optional collection query parameters * @returns Query string (e.g. "?start=...&limit=5") or empty string */ export declare function buildCollectionQuery(params: CollectionParams): string; //# sourceMappingURL=collection-utils.d.ts.map