import { FileTransformer } from "../shared.js";
import type { TemplateRenderer } from "../../template-renderer.js";
import type { TransformerIOSpec } from "../../types.js";
export declare class ApiBuilderTypeScriptError extends Error {
    constructor(message: string);
}
export declare class ApiBuilderTransformationError extends Error {
    constructor(message: string);
}
export declare abstract class ApiBuilderTransformer<Src extends TransformerIOSpec, Dest extends TransformerIOSpec> extends FileTransformer<Src, Dest> {
    private readonly templateRenderer;
    constructor(src: Src, dest: Dest, templateRenderer: TemplateRenderer);
    protected abstract evalScript: string;
    protected renderTemplate(): Promise<string>;
    /**
     * Override to provide additional environment variables for the evaluation process.
     * These are passed to the node evaluator script.
     */
    protected getEvalEnv(): Record<string, string>;
    protected runEvaluation(cwd: string): Promise<Record<string, string>>;
}
//# sourceMappingURL=shared.d.ts.map