import * as tsdoc from '@microsoft/tsdoc'; import * as tsm from 'ts-morph'; export declare function isCallable(t: tsm.Type): boolean; export declare function hasAlias(t: tsm.Type): boolean; /** * Tell if the given type is primitive or not. */ export declare function isPrimitive(t: tsm.Type): boolean; export declare function isTypeLevelNode(node: tsm.Node): boolean; export declare function getNodeFromTypePreferingAlias(t: tsm.Type): null | tsm.Node; export declare function isTypeFromDependencies(t: tsm.Type): boolean; declare type LocationKind = 'typeScriptCore' | 'typeScriptStandardLibrary' | 'dep' | 'app' | 'inline' | 'unknown'; export declare function getLocationKind(t: tsm.Type): LocationKind; export declare function dumpType(t: tsm.Type): void; export declare function dumpNode(n: tsm.Node): void; export declare function renderTSDocNode(docNode: tsdoc.DocNode): string; export {}; //# sourceMappingURL=utils.d.ts.map