import { UseQueryOptions } from '@tanstack/react-query'; import type { ArtifactDetailResponseResponse } from '../responses/ArtifactDetailResponseResponse'; 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 GetArtifactDetailsQueryPathParams { registry_ref: string; artifact: string; version: string; } export interface GetArtifactDetailsQueryQueryParams { artifact_type?: 'dataset' | 'model' | 'module' | 'provider'; childVersion?: string; filters?: string[]; } export type GetArtifactDetailsOkResponse = ResponseWithPagination; export type GetArtifactDetailsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetArtifactDetailsProps extends GetArtifactDetailsQueryPathParams, Omit, 'url'> { queryParams: GetArtifactDetailsQueryQueryParams; } export declare function getArtifactDetails(props: GetArtifactDetailsProps): Promise; /** * Get Artifact Details */ export declare function useGetArtifactDetailsQuery(props: GetArtifactDetailsProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;