import { UseMutationOptions } from '@tanstack/react-query'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface DeleteEnvironmentMutationPathParams { org: string; project: string; environment: string; } export interface DeleteEnvironmentMutationQueryParams { forceDelete?: boolean; } export interface DeleteEnvironmentMutationHeaderParams { 'Harness-Account'?: string; } export type DeleteEnvironmentOkResponse = ResponseWithPagination; export type DeleteEnvironmentErrorResponse = {}; export interface DeleteEnvironmentProps extends DeleteEnvironmentMutationPathParams, Omit, 'url'> { queryParams: DeleteEnvironmentMutationQueryParams; } export declare function deleteEnvironment(props: DeleteEnvironmentProps): Promise; /** * Deletes the requested environment */ export declare function useDeleteEnvironmentMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;