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 UpdateOrgScopedInfrastructureMutationPathParams { org: string; environment: string; 'infrastructure-definition': string; } export interface UpdateOrgScopedInfrastructureMutationHeaderParams { 'Harness-Account'?: string; } export type UpdateOrgScopedInfrastructureRequestBody = InfrastructureUpdateRequestRequestBody; export type UpdateOrgScopedInfrastructureOkResponse = ResponseWithPagination; export type UpdateOrgScopedInfrastructureErrorResponse = unknown; export interface UpdateOrgScopedInfrastructureProps extends UpdateOrgScopedInfrastructureMutationPathParams, Omit, 'url'> { body: UpdateOrgScopedInfrastructureRequestBody; } export declare function updateOrgScopedInfrastructure(props: UpdateOrgScopedInfrastructureProps): Promise; /** * Updates the specified org scoped infrastructure */ export declare function useUpdateOrgScopedInfrastructureMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;