import { UseQueryOptions } from '@tanstack/react-query'; import type { ArtifactFileResponseResponse } from '../responses/ArtifactFileResponseResponse'; 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 GetArtifactFileQueryPathParams { registry_ref: string; artifact: string; version: string; file_name: string; } export interface GetArtifactFileQueryQueryParams { artifact_type?: 'dataset' | 'model' | 'module' | 'provider'; filters?: string[]; } export type GetArtifactFileOkResponse = ResponseWithPagination; export type GetArtifactFileErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetArtifactFileProps extends GetArtifactFileQueryPathParams, Omit, 'url'> { queryParams: GetArtifactFileQueryQueryParams; } export declare function getArtifactFile(props: GetArtifactFileProps): Promise; /** * just validate existence of Artifact file */ export declare function useGetArtifactFileQuery(props: GetArtifactFileProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;