import { UseMutationOptions } from '@tanstack/react-query'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface DeleteInfrastructureMutationPathParams { org: string; project: string; environment: string; 'infrastructure-definition': string; } export interface DeleteInfrastructureMutationQueryParams { forceDelete?: boolean; } export interface DeleteInfrastructureMutationHeaderParams { 'Harness-Account'?: string; } export type DeleteInfrastructureOkResponse = ResponseWithPagination; export type DeleteInfrastructureErrorResponse = {}; export interface DeleteInfrastructureProps extends DeleteInfrastructureMutationPathParams, Omit, 'url'> { queryParams: DeleteInfrastructureMutationQueryParams; } export declare function deleteInfrastructure(props: DeleteInfrastructureProps): Promise; /** * Deletes the requested environment */ export declare function useDeleteInfrastructureMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;