import { UseQueryOptions } from '@tanstack/react-query'; import type { ArtifactStatsResponseResponse } from '../responses/ArtifactStatsResponseResponse'; import type { BadRequestResponse } from '../responses/BadRequestResponse'; import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse'; import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse'; import type { NotFoundResponse } from '../responses/NotFoundResponse'; import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetArtifactStatsQueryPathParams { registry_ref: string; artifact: string; } export interface GetArtifactStatsQueryQueryParams { from?: string; to?: string; } export type GetArtifactStatsOkResponse = ResponseWithPagination; export type GetArtifactStatsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetArtifactStatsProps extends GetArtifactStatsQueryPathParams, Omit, 'url'> { queryParams: GetArtifactStatsQueryQueryParams; } export declare function getArtifactStats(props: GetArtifactStatsProps): Promise; /** * Get Artifact Stats. */ export declare function useGetArtifactStatsQuery(props: GetArtifactStatsProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;