import { Program } from '../types'; export declare const customTsParser: { parse(source: string, options?: Partial<{ sourceType: "script" | "module" | "unambiguous" | undefined; strictMode: boolean | undefined; }> | undefined): import("@babel/types").File; }; export declare enum TransformStatus { Success = "success", Failure = "failure" } export interface TransformResult { status: TransformStatus; filename: string; error?: Error; } export declare type StringTransformer = (program: string) => string | Promise; export declare type Transformer = (program: Program) => Program | Promise; export declare function stringProcessFile(original: string, transformerFn: StringTransformer): string | Promise; export declare function processFile(original: string, transformerFn: Transformer): Promise; export declare function transform(processFile: (original: string) => Promise, targetFilePaths: string[]): Promise;