import { z } from "zod"; import { type INpmDownloadStatistic } from "../npm.js"; import { type IPackage } from "../package/package.js"; import { AbstractReport, type IReportConfig, type IReportContext } from "./Report.js"; import { type Url } from "./Validation.js"; declare const DownloadParams: z.ZodObject<{ package: z.ZodString; } & { url: z.ZodOptional, z.ZodType<`https://${string}`, z.ZodTypeDef, `https://${string}`>]>>; }, "strip", z.ZodTypeAny, { package: string; url?: `http://${string}` | `https://${string}` | undefined; }, { package: string; url?: `http://${string}` | `https://${string}` | undefined; }>; export type IDownloadParams = z.infer; export declare class DownloadReport extends AbstractReport { name: string; configs: IReportConfig; constructor(params: IDownloadParams); report([pkg]: [IPackage], { stdoutFormatter }: IReportContext): Promise; validate(): z.ZodTypeAny; } export declare function getDownloadsLastWeek(name: string, url?: Url): Promise; export {};