import { UseMutationOptions } from '@tanstack/react-query'; import type { EnvironmentResponseResponse } from '../responses/EnvironmentResponseResponse'; import type { EnvironmentUpdateRequestRequestBody } from '../requestBodies/EnvironmentUpdateRequestRequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface UpdateAccountScopedEnvironmentMutationPathParams { environment: string; } export interface UpdateAccountScopedEnvironmentMutationHeaderParams { 'Harness-Account'?: string; } export type UpdateAccountScopedEnvironmentRequestBody = EnvironmentUpdateRequestRequestBody; export type UpdateAccountScopedEnvironmentOkResponse = ResponseWithPagination; export type UpdateAccountScopedEnvironmentErrorResponse = unknown; export interface UpdateAccountScopedEnvironmentProps extends UpdateAccountScopedEnvironmentMutationPathParams, Omit, 'url'> { body: UpdateAccountScopedEnvironmentRequestBody; } export declare function updateAccountScopedEnvironment(props: UpdateAccountScopedEnvironmentProps): Promise; /** * Updates the specified account scoped environment */ export declare function useUpdateAccountScopedEnvironmentMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;