import type { FileInfo, TransformationResult, TransformationParams, ParsingResult } from '../astParse'; import type { TRANSFORMATION_TYPES } from '../../constants/constants'; export declare type ASTTransformation = { (fileInfo: FileInfo, params: Params, parsingResults: ParsingResult): Promise | null; }; export declare type TransformationType = typeof TRANSFORMATION_TYPES[keyof typeof TRANSFORMATION_TYPES]; export declare const transformationMap: { [name: string]: { astTransform: ASTTransformation; needReparse: boolean; needWriteToOriginFile: boolean; extensions: string[]; transformationType: TransformationType; }; };