import ts, { type ObjectLiteralExpression, type StringLiteral, type TsConfigSourceFile } from "#typescript"; import type { ConfigValue, EditDescription, ExtendedConfig, ProjectTSConfig, TextEdit, TSConfig } from "./types.ts"; export declare function useCaseSensitiveFileNames(): boolean; export declare const getCanonicalFileName: ts.GetCanonicalFileName; export declare function toPath(fileName: string): string; export declare function isProjectTSConfig(tsconfig: TSConfig): tsconfig is ProjectTSConfig; export declare function isExtendedTSConfig(tsconfig: TSConfig): tsconfig is ExtendedConfig; export declare function insertPropertyIntoObject(fileName: string, targetObject: ObjectLiteralExpression, newPropertyText: string | ((indent: string) => string), sourceFile: TsConfigSourceFile, description?: EditDescription): TextEdit[]; export declare function findCompilerOptionsProperty(sourceFile: TsConfigSourceFile): ObjectLiteralExpression | undefined; /** * Create TextEdits that copy path mappings from an inherited paths object into * the provided tsconfig. The entries are transformed so that their targets are * relative to the target tsconfig file location. * * If `compilerOptionsObject` is provided we'll add a `paths` property to it. * Otherwise, if `rootObject` is provided we'll create a `compilerOptions` * property containing the `paths` mapping. */ export declare function createCopiedPathsEdits(tsconfig: TSConfig, includeWildcard?: boolean): TextEdit[] | undefined; export declare function getPathMappingText(tsconfig: TSConfig, effectiveBaseUrlStack: readonly ConfigValue[]): string; //# sourceMappingURL=utils.d.ts.map