import { UseQueryOptions } from '@tanstack/react-query'; import type { ArtifactSummaryResponseResponse } from '../responses/ArtifactSummaryResponseResponse'; 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 GetArtifactSummaryQueryPathParams { registry_ref: string; artifact: string; } export interface GetArtifactSummaryQueryQueryParams { artifact_type?: 'dataset' | 'model' | 'module' | 'provider'; } export type GetArtifactSummaryOkResponse = ResponseWithPagination; export type GetArtifactSummaryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetArtifactSummaryProps extends GetArtifactSummaryQueryPathParams, Omit, 'url'> { queryParams: GetArtifactSummaryQueryQueryParams; } export declare function getArtifactSummary(props: GetArtifactSummaryProps): Promise; /** * Get Artifact Summary. */ export declare function useGetArtifactSummaryQuery(props: GetArtifactSummaryProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;