import { UseQueryOptions } from '@tanstack/react-query'; import type { ArtifactVersionSummaryResponseResponse } from '../responses/ArtifactVersionSummaryResponseResponse'; 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 GetArtifactVersionSummaryQueryPathParams { registry_ref: string; artifact: string; version: string; } export interface GetArtifactVersionSummaryQueryQueryParams { artifact_type?: 'dataset' | 'model' | 'module' | 'provider'; digest?: string; filters?: string[]; } export type GetArtifactVersionSummaryOkResponse = ResponseWithPagination; export type GetArtifactVersionSummaryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetArtifactVersionSummaryProps extends GetArtifactVersionSummaryQueryPathParams, Omit, 'url'> { queryParams: GetArtifactVersionSummaryQueryQueryParams; } export declare function getArtifactVersionSummary(props: GetArtifactVersionSummaryProps): Promise; /** * Get Artifact Version Summary. */ export declare function useGetArtifactVersionSummaryQuery(props: GetArtifactVersionSummaryProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;