import type { SourceFile as TSSourceFile, ScriptKind, Symbol, SymbolTable, Node } from 'typescript'; /** * Contains @internal properties that are not yet in the public API of TS. */ export interface SourceFile extends TSSourceFile { /** * If two source files are for the same version of the same package, one will redirect to the other. * (See `createRedirectSourceFile` in program.ts.) * The redirect will have this set. The redirected-to source file will be in `redirectTargetsMap`. */ redirectInfo?: any; scriptKind?: ScriptKind; externalModuleIndicator?: Node; commonJsModuleIndicator?: Node; jsGlobalAugmentations?: SymbolTable; symbol?: Symbol; }