import { UseQueryOptions } from '@tanstack/react-query'; import type { InfrastructureResponseResponse } from '../responses/InfrastructureResponseResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetInfrastructureQueryPathParams { org: string; project: string; environment: string; 'infrastructure-definition': string; } export interface GetInfrastructureQueryHeaderParams { 'Harness-Account'?: string; } export type GetInfrastructureOkResponse = ResponseWithPagination; export type GetInfrastructureErrorResponse = unknown; export interface GetInfrastructureProps extends GetInfrastructureQueryPathParams, Omit, 'url'> { } export declare function getInfrastructure(props: GetInfrastructureProps): Promise; /** * Retrieves the specified infrastructure */ export declare function useGetInfrastructureQuery(props: GetInfrastructureProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;