import { UseQueryOptions } from '@tanstack/react-query'; import type { ListRegistryResponseV3Response } from '../responses/ListRegistryResponseV3Response'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ListRegistriesV3QueryQueryParams { account_identifier: string; org_identifier?: string; project_identifier?: string; package_types?: string[]; type?: 'UPSTREAM' | 'VIRTUAL'; metadata?: string[]; scope?: 'ancestors' | 'descendants' | 'none'; /** * @default "exclude" */ deleted?: 'exclude' | 'include' | 'only'; /** * @format int64 * @default 0 */ page?: number; /** * @format int64 * @default 20 */ size?: number; sort?: string; search_term?: string; include_meta?: boolean; } export type ListRegistriesV3OkResponse = ResponseWithPagination; export type ListRegistriesV3ErrorResponse = ErrorV3; export interface ListRegistriesV3Props extends Omit, 'url'> { queryParams: ListRegistriesV3QueryQueryParams; } export declare function listRegistriesV3(props: ListRegistriesV3Props): Promise; /** * Lists registries. */ export declare function useListRegistriesV3Query(props: ListRegistriesV3Props, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;