import { UseMutationOptions } from '@tanstack/react-query'; import type { EnvironmentResponseResponse } from '../responses/EnvironmentResponseResponse'; import type { EnvironmentCreateRequestRequestBody } from '../requestBodies/EnvironmentCreateRequestRequestBody'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface CreateEnvironmentMutationPathParams { org: string; project: string; } export interface CreateEnvironmentMutationHeaderParams { 'Harness-Account'?: string; } export type CreateEnvironmentRequestBody = EnvironmentCreateRequestRequestBody; export type CreateEnvironmentOkResponse = ResponseWithPagination; export type CreateEnvironmentErrorResponse = unknown; export interface CreateEnvironmentProps extends CreateEnvironmentMutationPathParams, Omit, 'url'> { body: CreateEnvironmentRequestBody; } export declare function createEnvironment(props: CreateEnvironmentProps): Promise; /** * Creates an Environment */ export declare function useCreateEnvironmentMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;