import { RawSourceMap } from 'source-map'; import ts from 'typescript'; import { Context } from '../Context'; export interface TranspileOptions { readonly sourceFile: ts.SourceFile; readonly context: Context; } export interface TranspileResult { readonly text: string; readonly sourceMap: RawSourceMap; } export declare const transpile: ({ sourceFile, context }: TranspileOptions) => TranspileResult | undefined;