import { Path, SortedArray, SortedReadonlyArray, TypeAcquisition } from "./_namespaces/ts.js"; import { DiscoverTypings, Project } from "./_namespaces/ts.server.js"; export declare enum LogLevel { terse = 0, normal = 1, requestTime = 2, verbose = 3 } export declare const emptyArray: SortedReadonlyArray; export interface Logger { close(): void; hasLevel(level: LogLevel): boolean; loggingEnabled(): boolean; perftrc(s: string): void; info(s: string): void; startGroup(): void; endGroup(): void; msg(s: string, type?: Msg): void; getLogFileName(): string | undefined; /** @internal*/ isTestLogger?: boolean; } export declare enum Msg { Err = "Err", Info = "Info", Perf = "Perf" } export declare function createInstallTypingsRequest(project: Project, typeAcquisition: TypeAcquisition, unresolvedImports: SortedReadonlyArray, cachePath?: string): DiscoverTypings; export declare namespace Errors { function ThrowNoProject(): never; function ThrowProjectLanguageServiceDisabled(): never; function ThrowProjectDoesNotContainDocument(fileName: string, project: Project): never; } export type NormalizedPath = string & { __normalizedPathTag: any; }; export declare function toNormalizedPath(fileName: string): NormalizedPath; export declare function normalizedPathToPath(normalizedPath: NormalizedPath, currentDirectory: string, getCanonicalFileName: (f: string) => string): Path; export declare function asNormalizedPath(fileName: string): NormalizedPath; export interface NormalizedPathMap { get(path: NormalizedPath): T | undefined; set(path: NormalizedPath, value: T): void; contains(path: NormalizedPath): boolean; remove(path: NormalizedPath): void; } export declare function createNormalizedPathMap(): NormalizedPathMap; /** @internal */ export interface ProjectOptions { configHasExtendsProperty: boolean; /** * true if config file explicitly listed files */ configHasFilesProperty: boolean; configHasIncludeProperty: boolean; configHasExcludeProperty: boolean; } export declare function isInferredProjectName(name: string): boolean; export declare function makeInferredProjectName(counter: number): string; /** @internal */ export declare function makeAutoImportProviderProjectName(counter: number): string; /** @internal */ export declare function makeAuxiliaryProjectName(counter: number): string; export declare function createSortedArray(): SortedArray; //# sourceMappingURL=utilitiesPublic.d.ts.map