greybel-languageserver-core
Version:
Core functionality of language server for GreyScript
11 lines (10 loc) • 675 B
TypeScript
import { Document as TypeDocument, TypeManager } from 'greybel-type-analyzer';
import { IActiveDocument, IActiveDocumentImportGraphNode, IDependencyLocation } from '../types';
export type ImportWithNamespace = {
namespace: string;
typeDoc: TypeDocument;
};
declare const typeManager: TypeManager;
export default typeManager;
export declare function aggregateImportsWithNamespaceFromLocations(dependencyLocation: IDependencyLocation[], refs: Map<string, IActiveDocument | null>): ImportWithNamespace[];
export declare function aggregateImportsWithNamespaceFromGraph(node: IActiveDocumentImportGraphNode, refs: Map<string, TypeDocument | null>): ImportWithNamespace[];