import type { SwcTranspilerInjection, SourceCode } from './interfaces/index.js'; import type { TsConfigResult } from 'get-tsconfig'; export declare class SwcTranspiler { #private; constructor(path?: string | null, injection?: Partial); getSourceCode(tsConfigResult: TsConfigResult): Promise; build(callback?: (source?: string, output?: string) => void): Promise; }