import { UseMutationOptions } from '@tanstack/react-query'; import type { InfrastructureResponseResponse } from '../responses/InfrastructureResponseResponse'; import type { InfrastructureUpdateRequestRequestBody } from '../requestBodies/InfrastructureUpdateRequestRequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface UpdateInfrastructureMutationPathParams { org: string; project: string; environment: string; 'infrastructure-definition': string; } export interface UpdateInfrastructureMutationHeaderParams { 'Harness-Account'?: string; } export type UpdateInfrastructureRequestBody = InfrastructureUpdateRequestRequestBody; export type UpdateInfrastructureOkResponse = ResponseWithPagination; export type UpdateInfrastructureErrorResponse = unknown; export interface UpdateInfrastructureProps extends UpdateInfrastructureMutationPathParams, Omit, 'url'> { body: UpdateInfrastructureRequestBody; } export declare function updateInfrastructure(props: UpdateInfrastructureProps): Promise; /** * Updates the specified infrastructure */ export declare function useUpdateInfrastructureMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;