import { UseQueryOptions } from '@tanstack/react-query'; import type { EnvironmentResponseResponse } from '../responses/EnvironmentResponseResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetEnvironmentQueryPathParams { org: string; project: string; environment: string; } export interface GetEnvironmentQueryHeaderParams { 'Harness-Account'?: string; } export type GetEnvironmentOkResponse = ResponseWithPagination; export type GetEnvironmentErrorResponse = unknown; export interface GetEnvironmentProps extends GetEnvironmentQueryPathParams, Omit, 'url'> { } export declare function getEnvironment(props: GetEnvironmentProps): Promise; /** * Retrieves the specified environment */ export declare function useGetEnvironmentQuery(props: GetEnvironmentProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;