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 UpdateAccountScopedInfrastructureMutationPathParams { environment: string; 'infrastructure-definition': string; } export interface UpdateAccountScopedInfrastructureMutationHeaderParams { 'Harness-Account'?: string; } export type UpdateAccountScopedInfrastructureRequestBody = InfrastructureUpdateRequestRequestBody; export type UpdateAccountScopedInfrastructureOkResponse = ResponseWithPagination; export type UpdateAccountScopedInfrastructureErrorResponse = unknown; export interface UpdateAccountScopedInfrastructureProps extends UpdateAccountScopedInfrastructureMutationPathParams, Omit, 'url'> { body: UpdateAccountScopedInfrastructureRequestBody; } export declare function updateAccountScopedInfrastructure(props: UpdateAccountScopedInfrastructureProps): Promise; /** * Updates the specified account scoped infrastructure */ export declare function useUpdateAccountScopedInfrastructureMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;