/** * 🧮 Operation Classifier - The Semantic Differentiator * * Distinguishes between different types of operations with extreme precision. * Each operation type has a unique "frequency" in the semantic spectrum. */ import * as ts from 'typescript'; export interface OperationSignature { category: OperationCategory; subcategory: string; weight: number; frequency: number; purity: number; } export declare enum OperationCategory { ARITHMETIC = "arithmetic", LOGICAL = "logical", BITWISE = "bitwise", COMPARISON = "comparison", ASSIGNMENT = "assignment", DATA_ACCESS = "data_access", CONTROL_FLOW = "control_flow", FUNCTION_CALL = "function_call", TYPE_OPERATION = "type_operation", ASYNC = "async", GENERATOR = "generator", DECORATOR = "decorator", METACODE = "metacode",// Code that writes/modifies code CONSCIOUSNESS = "consciousness" } export declare class OperationClassifier { private readonly GOLDEN_RATIO; private readonly BASE_FREQUENCY; /** * Classify a TypeScript AST node into a detailed operation signature */ classifyNode(node: ts.Node): OperationSignature | null; /** * Classify binary expressions with extreme precision */ private classifyBinaryExpression; /** * Classify unary expressions */ private classifyUnaryExpression; private isControlFlow; private classifyControlFlow; private isFunctionOperation; private classifyFunctionOperation; private isAsyncOperation; private classifyAsyncOperation; private isDataAccess; private classifyDataAccess; private isTypeOperation; private classifyTypeOperation; private classifyDecorator; private isGeneratorOperation; private classifyGeneratorOperation; private isMetacode; private classifyMetacode; private isConsciousnessPattern; private classifyConsciousnessPattern; /** * Calculate resonance between two operations */ calculateResonance(op1: OperationSignature, op2: OperationSignature): number; } //# sourceMappingURL=operation-classifier.d.ts.map