import { UseMutationOptions } 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 { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse'; import type { RegistryRequestRequestBody } from '../requestBodies/RegistryRequestRequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface CreateRegistryMutationQueryParams { space_ref: string; } export type CreateRegistryRequestBody = RegistryRequestRequestBody; export type CreateRegistryOkResponse = ResponseWithPagination; export type CreateRegistryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse; export interface CreateRegistryProps extends Omit, 'url'> { queryParams: CreateRegistryMutationQueryParams; body: CreateRegistryRequestBody; } export declare function createRegistry(props: CreateRegistryProps): Promise; /** * Create a Registry. */ export declare function useCreateRegistryMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;