import { UseMutationOptions } from '@tanstack/react-query'; import type { InfrastructureResponseResponse } from '../responses/InfrastructureResponseResponse'; import type { InfrastructureCreateRequestRequestBody } from '../requestBodies/InfrastructureCreateRequestRequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface CreateInfrastructureMutationPathParams { org: string; project: string; environment: string; } export interface CreateInfrastructureMutationHeaderParams { 'Harness-Account'?: string; } export type CreateInfrastructureRequestBody = InfrastructureCreateRequestRequestBody; export type CreateInfrastructureOkResponse = ResponseWithPagination; export type CreateInfrastructureErrorResponse = unknown; export interface CreateInfrastructureProps extends CreateInfrastructureMutationPathParams, Omit, 'url'> { body: CreateInfrastructureRequestBody; } export declare function createInfrastructure(props: CreateInfrastructureProps): Promise; /** * Creates an Infrastructure */ export declare function useCreateInfrastructureMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;