import { UseQueryOptions } from '@tanstack/react-query'; import type { InfrastructureListResponseResponse } from '../responses/InfrastructureListResponseResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetOrgScopedInfrastructuresQueryPathParams { org: string; environment: string; } export interface GetOrgScopedInfrastructuresQueryQueryParams { /** * @default 0 */ page?: number; /** * @default 20 */ limit?: number; search_term?: string; infra_ids?: string[]; sort?: 'created' | 'identifier' | 'name' | 'updated'; is_access_list?: boolean; service_refs?: string[]; template_identifier?: string; template_version?: string; deployment_type?: 'AWS_SAM' | 'Asg' | 'AwsLambda' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GitOps' | 'GoogleCloudFunctions' | 'Kubernetes' | 'NativeHelm' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm'; order?: 'ASC' | 'DESC'; } export interface GetOrgScopedInfrastructuresQueryHeaderParams { 'Harness-Account'?: string; } export type GetOrgScopedInfrastructuresOkResponse = ResponseWithPagination; export type GetOrgScopedInfrastructuresErrorResponse = unknown; export interface GetOrgScopedInfrastructuresProps extends GetOrgScopedInfrastructuresQueryPathParams, Omit, 'url'> { queryParams: GetOrgScopedInfrastructuresQueryQueryParams; } export declare function getOrgScopedInfrastructures(props: GetOrgScopedInfrastructuresProps): Promise; /** * Returns a list of the org scoped infrastructures for which you have view permissions in the given org. */ export declare function useGetOrgScopedInfrastructuresQuery(props: GetOrgScopedInfrastructuresProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;