UNPKG

sicua

Version:

A tool for analyzing project structure and dependencies

18 lines (17 loc) 758 B
import ts from "typescript"; export declare class StateAnalysisUtils { /** * Finds state references within a selector function */ static findStatesInSelector(node: ts.Node): string[]; /** * Extracts action type from various action patterns */ static extractActionType(node: ts.Node, findActionCreator?: (name: string) => ts.Node | undefined): string | undefined; private static extractTypeFromInitializer; static isActionType(node: ts.Node): boolean; static getFullActionType(node: ts.Node): string | undefined; static buildStatePath(node: ts.PropertyAccessExpression): string; static isStateAccess(path: string, storeDefinitions?: Map<string, any>): boolean; private static isKnownStatePattern; }