import { UseMutationOptions } from '@tanstack/react-query'; import type { PackagesStatsResponseV3Response } from '../responses/PackagesStatsResponseV3Response'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { PackagesStatsRequestV3RequestBody } from '../requestBodies/PackagesStatsRequestV3RequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetPackagesStatsV3MutationQueryParams { account_identifier: string; org_identifier?: string; project_identifier?: string; } export type GetPackagesStatsV3RequestBody = PackagesStatsRequestV3RequestBody; export type GetPackagesStatsV3OkResponse = ResponseWithPagination; export type GetPackagesStatsV3ErrorResponse = ErrorV3; export interface GetPackagesStatsV3Props extends Omit, 'url'> { queryParams: GetPackagesStatsV3MutationQueryParams; body: GetPackagesStatsV3RequestBody; } export declare function getPackagesStatsV3(props: GetPackagesStatsV3Props): Promise; /** * Get statistics (artifactsCount, size, downloadCount) for a list of packages by their UUIDs. */ export declare function useGetPackagesStatsV3Mutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;