import type { TectonContextInfo, HierarchyNode } from '../../../types'; /** * Returns an array of contexts from most specific to most general based on the hierarchy * * @param contextString - The context string to get the hierarchy path for * @param contextHierarchy - The hierarchical structure to navigate * @returns Array of context strings ordered from most specific to most general, or empty array if context not found */ export declare function getContextHierarchyPath(contextString: string, contextHierarchy: HierarchyNode): string[]; /** * Validates whether a resolved context is a valid subtype of a context rule. * * @param params - Configuration object containing context validation parameters * @param params.moduleContext - The module context rule * @param params.outletContext - The outlet context used as fallback when resolvedContext is not available * @param params.resolvedContext - The resolved context to validate * @param params.additionalContext - Optional additional context requirements * @param params.additionalContextRequirements - Array of allowed additional context values * @param contextHierarchy - Hierarchy of context nodes for validation * @returns True if resolvedContext is a valid subtype of moduleContext, or if moduleContext is unrestricted */ export declare function validateContext(params: TectonContextInfo, contextHierarchy: HierarchyNode): boolean; //# sourceMappingURL=contextResolver.d.ts.map