import ts from 'typescript'; import { IModuleSchema, ICodeSchema } from './json-schema-types'; import { IFileSystemPath } from './imported-identifier-resolver'; export interface IEnv { checker: ts.TypeChecker; modulePath: string; projectPath: string; pathUtil: IFileSystemPath; } export declare function transform(checker: ts.TypeChecker, sourceFile: ts.SourceFile, moduleId: string, projectPath: string, pathUtil: IFileSystemPath): IModuleSchema; export declare type TsNodeDescriber = (n: N, env: IEnv, typeSet?: Set) => { schema: S; required?: boolean; }; export declare function getSchemaFromImport(importPath: string, ref: string, program: ts.Program, pathUtil: IFileSystemPath, sourceFile?: ts.SourceFile): IModuleSchema | null; //# sourceMappingURL=file-transformer.d.ts.map