import { UseMutationOptions } from '@tanstack/react-query'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface DeleteOrgScopedInfrastructureMutationPathParams { org: string; environment: string; 'infrastructure-definition': string; } export interface DeleteOrgScopedInfrastructureMutationQueryParams { forceDelete?: boolean; } export interface DeleteOrgScopedInfrastructureMutationHeaderParams { 'Harness-Account'?: string; } export type DeleteOrgScopedInfrastructureOkResponse = ResponseWithPagination; export type DeleteOrgScopedInfrastructureErrorResponse = {}; export interface DeleteOrgScopedInfrastructureProps extends DeleteOrgScopedInfrastructureMutationPathParams, Omit, 'url'> { queryParams: DeleteOrgScopedInfrastructureMutationQueryParams; } export declare function deleteOrgScopedInfrastructure(props: DeleteOrgScopedInfrastructureProps): Promise; /** * Deletes the requested org scoped infrastructure */ export declare function useDeleteOrgScopedInfrastructureMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;