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 UpdateEnvironmentMutationPathParams { org: string; project: string; environment: string; } export interface UpdateEnvironmentMutationHeaderParams { 'Harness-Account'?: string; } export type UpdateEnvironmentRequestBody = EnvironmentUpdateRequestRequestBody; export type UpdateEnvironmentOkResponse = ResponseWithPagination; export type UpdateEnvironmentErrorResponse = unknown; export interface UpdateEnvironmentProps extends UpdateEnvironmentMutationPathParams, Omit, 'url'> { body: UpdateEnvironmentRequestBody; } export declare function updateEnvironment(props: UpdateEnvironmentProps): Promise; /** * Updates the specified environment */ export declare function useUpdateEnvironmentMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;