import { ParserRuleContext } from 'antlr4ts'; import { CommonTokenStream } from 'apex-parser'; import { TypeRegistry } from '../type/TypeRegistry.js'; import { TypeMatcher } from './typeMatcher.js'; /** * Result of a full parse + type analysis. The tree and tokenStream are * reused by MutantGenerator so we parse the class exactly once per run. */ export interface TypeAnalysisResult { typeRegistry: TypeRegistry; tree: ParserRuleContext; tokenStream: CommonTokenStream; } export declare class TypeDiscoverer { private matchers; withMatcher(matcher: TypeMatcher): this; analyze(code: string): Promise; analyzeFull(code: string): Promise; }