import type { E2bRuntime, StateManager } from "../../poe-code-config/dist/index.js";
import { type BuildLogEntry } from "./sdk.js";
export interface BuildE2bRuntimeTemplateInput {
    runtime: E2bRuntime;
    dockerfilePath: string;
    buildContext: string;
    state?: Pick<StateManager, "templates">;
    apiKey: string;
    force?: boolean;
    onLog?: (entry: BuildLogEntry) => void;
}
export interface BuildE2bRuntimeTemplateResult {
    backend: "e2b";
    hash: string;
    templateId: string;
    cached: boolean;
}
export declare function buildE2bRuntimeTemplate(input: BuildE2bRuntimeTemplateInput): Promise<BuildE2bRuntimeTemplateResult>;
