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 GetArtifactStatsForSpaceQueryPathParams { space_ref: string; } export interface GetArtifactStatsForSpaceQueryQueryParams { from?: string; to?: string; } export type GetArtifactStatsForSpaceOkResponse = ResponseWithPagination; export type GetArtifactStatsForSpaceErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetArtifactStatsForSpaceProps extends GetArtifactStatsForSpaceQueryPathParams, Omit, 'url'> { queryParams: GetArtifactStatsForSpaceQueryQueryParams; } export declare function getArtifactStatsForSpace(props: GetArtifactStatsForSpaceProps): Promise; /** * Get artifact stats */ export declare function useGetArtifactStatsForSpaceQuery(props: GetArtifactStatsForSpaceProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;