1 import * as ts from 'typescript';
2 import { Extra } from '../parser-options';
3 interface ASTAndProgram {
7 declare function createDefaultCompilerOptionsFromExtra(extra: Extra): ts.CompilerOptions;
8 declare type CanonicalPath = string & {
11 declare function getCanonicalFileName(filePath: string): CanonicalPath;
12 declare function ensureAbsolutePath(p: string, extra: Extra): string;
13 declare function getTsconfigPath(tsconfigPath: string, extra: Extra): CanonicalPath;
14 declare function canonicalDirname(p: CanonicalPath): CanonicalPath;
15 declare function getScriptKind(extra: Extra, filePath?: string): ts.ScriptKind;
16 export { ASTAndProgram, canonicalDirname, CanonicalPath, createDefaultCompilerOptionsFromExtra, ensureAbsolutePath, getCanonicalFileName, getScriptKind, getTsconfigPath, };
17 //# sourceMappingURL=shared.d.ts.map