import { UseQueryOptions } from '@tanstack/react-query'; import type { ListRegistryArtifactResponseResponse } from '../responses/ListRegistryArtifactResponseResponse'; 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 GetAllArtifactsByRegistryQueryPathParams { registry_ref: string; } export interface GetAllArtifactsByRegistryQueryQueryParams { label?: string[]; /** * @format int64 * @default 1 */ page?: number; /** * @format int64 * @default 20 */ size?: number; sort_order?: string; sort_field?: string; search_term?: string; artifact_type?: 'dataset' | 'model' | 'module' | 'provider'; } export type GetAllArtifactsByRegistryOkResponse = ResponseWithPagination; export type GetAllArtifactsByRegistryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetAllArtifactsByRegistryProps extends GetAllArtifactsByRegistryQueryPathParams, Omit, 'url'> { queryParams: GetAllArtifactsByRegistryQueryQueryParams; } export declare function getAllArtifactsByRegistry(props: GetAllArtifactsByRegistryProps): Promise; /** * Lists all the Artifacts for Registry */ export declare function useGetAllArtifactsByRegistryQuery(props: GetAllArtifactsByRegistryProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;