/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import type { AstIdentifierBinding, CtxRootAlias, ReactDefaultAlias, ReactNamespaceAlias } from '../internal-types';
export declare function getReactNamespaceCapabilityFromAstPatternSource(sourceTarget: any, identifierBindings: AstIdentifierBinding[], aliases: ReactNamespaceAlias[], ctxRootAliases: CtxRootAlias[]): any;
export declare function getReactDefaultNamespaceCapabilityFromAstPatternSource(sourceTarget: any, identifierBindings: AstIdentifierBinding[], aliases: ReactNamespaceAlias[], ctxRootAliases?: CtxRootAlias[], defaultAliases?: ReactDefaultAlias[]): any;
export declare function getReactNamespaceCapabilityFromAstPatternFallbackSources(sourceTarget: any, identifierBindings: AstIdentifierBinding[], aliases: ReactNamespaceAlias[], ctxRootAliases: CtxRootAlias[]): any;
export declare function getReactDefaultCapabilityFromAstPatternFallbackSources(sourceTarget: any, identifierBindings: AstIdentifierBinding[], aliases: ReactNamespaceAlias[], ctxRootAliases: CtxRootAlias[], defaultAliases: ReactDefaultAlias[]): any;
export declare function getAstDefaultMemberAliasBase(aliasName: string): string;
export declare function getDirectReactNamespaceCapabilityFromAstAliasName(sourceTarget: any, identifierBindings: AstIdentifierBinding[]): "" | "React" | "ctx.React" | "ctx.libs.React";
export declare function getDirectReactDefaultCapabilityFromAstAliasName(sourceTarget: any, identifierBindings: AstIdentifierBinding[]): string;
export declare function isAstPatternDefaultValueSuppressedByReactNamespace(sourceTarget: any, identifierBindings: AstIdentifierBinding[], namespaceAliases: ReactNamespaceAlias[], ctxRootAliases: CtxRootAlias[]): boolean;
export declare function getReactNamespaceCapabilityFromAst(node: any, identifierBindings: AstIdentifierBinding[], aliases: ReactNamespaceAlias[], ctxRootAliases?: CtxRootAlias[]): any;
export declare function getReactDefaultNamespaceCapabilityFromAst(node: any, identifierBindings: AstIdentifierBinding[], aliases: ReactNamespaceAlias[], ctxRootAliases?: CtxRootAlias[], defaultAliases?: ReactDefaultAlias[]): any;
export declare function getDirectReactNamespaceCapabilityFromAst(node: any, identifierBindings: AstIdentifierBinding[], ctxRootAliases?: CtxRootAlias[]): "" | "React" | "ctx.React" | "ctx.libs.React";
