import { UseQueryOptions } from '@tanstack/react-query'; import type { ListArtifactVersionResponseResponse } from '../responses/ListArtifactVersionResponseResponse'; 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 GetAllArtifactVersionsQueryPathParams { registry_ref: string; artifact: string; } export interface GetAllArtifactVersionsQueryQueryParams { artifact_type?: 'dataset' | 'model' | 'module' | 'provider'; /** * @format int64 * @default 1 */ page?: number; /** * @format int64 * @default 20 */ size?: number; sort_order?: string; sort_field?: string; search_term?: string; /** * @default "exclude" */ deleted?: 'exclude' | 'include' | 'only'; } export type GetAllArtifactVersionsOkResponse = ResponseWithPagination; export type GetAllArtifactVersionsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetAllArtifactVersionsProps extends GetAllArtifactVersionsQueryPathParams, Omit, 'url'> { queryParams: GetAllArtifactVersionsQueryQueryParams; } export declare function getAllArtifactVersions(props: GetAllArtifactVersionsProps): Promise; /** * Lists all the Artifact Versions. */ export declare function useGetAllArtifactVersionsQuery(props: GetAllArtifactVersionsProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;