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 GetArtifactStatsForRegistryQueryPathParams { registry_ref: string; } export interface GetArtifactStatsForRegistryQueryQueryParams { from?: string; to?: string; } export type GetArtifactStatsForRegistryOkResponse = ResponseWithPagination; export type GetArtifactStatsForRegistryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetArtifactStatsForRegistryProps extends GetArtifactStatsForRegistryQueryPathParams, Omit, 'url'> { queryParams: GetArtifactStatsForRegistryQueryQueryParams; } export declare function getArtifactStatsForRegistry(props: GetArtifactStatsForRegistryProps): Promise; /** * Get Artifact Stats. */ export declare function useGetArtifactStatsForRegistryQuery(props: GetArtifactStatsForRegistryProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;