import { UseQueryOptions } from '@tanstack/react-query'; import type { ListRegistryResponseResponse } from '../responses/ListRegistryResponseResponse'; 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 GetAllRegistriesQueryPathParams { space_ref: string; } export interface GetAllRegistriesQueryQueryParams { package_type?: string[]; type?: 'UPSTREAM' | 'VIRTUAL'; /** * @format int64 * @default 1 */ page?: number; /** * @format int64 * @default 20 */ size?: number; sort_order?: string; sort_field?: string; search_term?: string; recursive?: boolean; scope?: 'ancestors' | 'descendants' | 'none'; } export type GetAllRegistriesOkResponse = ResponseWithPagination; export type GetAllRegistriesErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetAllRegistriesProps extends GetAllRegistriesQueryPathParams, Omit, 'url'> { queryParams: GetAllRegistriesQueryQueryParams; } export declare function getAllRegistries(props: GetAllRegistriesProps): Promise; /** * Lists all the registries. */ export declare function useGetAllRegistriesQuery(props: GetAllRegistriesProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;