1 | /**
|
2 | * @license
|
3 | * Copyright Google LLC All Rights Reserved.
|
4 | *
|
5 | * Use of this source code is governed by an MIT-style license that can be
|
6 | * found in the LICENSE file at https://angular.dev/license
|
7 | */
|
8 | import ts from 'typescript';
|
9 | import { AbsoluteFsPath, PathString } from './types';
|
10 | /**
|
11 | * Convert Windows-style separators to POSIX separators.
|
12 | */
|
13 | export declare function normalizeSeparators(path: string): string;
|
14 | /**
|
15 | * Remove a .ts, .d.ts, or .js extension from a file name.
|
16 | */
|
17 | export declare function stripExtension<T extends PathString>(path: T): T;
|
18 | export declare function getSourceFileOrError(program: ts.Program, fileName: AbsoluteFsPath): ts.SourceFile;
|