import { UseQueryOptions } from '@tanstack/react-query'; import type { RegistryResponseResponse } from '../responses/RegistryResponseResponse'; 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 GetRegistryQueryPathParams { registry_ref: string; } export type GetRegistryOkResponse = ResponseWithPagination; export type GetRegistryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetRegistryProps extends GetRegistryQueryPathParams, Omit, 'url'> { } export declare function getRegistry(props: GetRegistryProps): Promise; /** * Returns Registry Details in the account for the given key */ export declare function useGetRegistryQuery(props: GetRegistryProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;