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 UpdateOrgScopedEnvironmentMutationPathParams { org: string; environment: string; } export interface UpdateOrgScopedEnvironmentMutationHeaderParams { 'Harness-Account'?: string; } export type UpdateOrgScopedEnvironmentRequestBody = EnvironmentUpdateRequestRequestBody; export type UpdateOrgScopedEnvironmentOkResponse = ResponseWithPagination; export type UpdateOrgScopedEnvironmentErrorResponse = unknown; export interface UpdateOrgScopedEnvironmentProps extends UpdateOrgScopedEnvironmentMutationPathParams, Omit, 'url'> { body: UpdateOrgScopedEnvironmentRequestBody; } export declare function updateOrgScopedEnvironment(props: UpdateOrgScopedEnvironmentProps): Promise; /** * Updates the specified org scoped environment */ export declare function useUpdateOrgScopedEnvironmentMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;