import { UseQueryOptions } from '@tanstack/react-query'; import type { FileDetailResponseResponse } from '../responses/FileDetailResponseResponse'; 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 GetArtifactFilesQueryPathParams { registry_ref: string; artifact: string; version: string; } export interface GetArtifactFilesQueryQueryParams { 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; filters?: string[]; } export type GetArtifactFilesOkResponse = ResponseWithPagination; export type GetArtifactFilesErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetArtifactFilesProps extends GetArtifactFilesQueryPathParams, Omit, 'url'> { queryParams: GetArtifactFilesQueryQueryParams; } export declare function getArtifactFiles(props: GetArtifactFilesProps): Promise; /** * Get Artifact files */ export declare function useGetArtifactFilesQuery(props: GetArtifactFilesProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;