export declare function normalizeUrl(u: string): string; /** Deterministic ID: sha256(normalized URL) */ export declare function computeIdFromUrl(url: string): string; export declare function getHostSafe(u: string): string | undefined; export declare function sha256Hex(s: string): string; /** ISO-8601 year/week (1–53) */ export declare function isoYearWeek(d: Date): { year: number; week: number; }; /** Robust S3 Body → Buffer: prefers Smithy mixin, falls back to Node stream */ export declare function s3BodyToBuffer(body: any): Promise; /** Always expect gzip (we always write gzip). If header missing, still try gunzip. */ export declare function gunzipStrict(buf: Buffer, contentEncoding?: string): Buffer; export declare function clamp(n: number, min: number, max: number): number; export declare function isConditionalCheckFailed(err: any): boolean; //# sourceMappingURL=utils.d.ts.map