import "../_dnt.polyfills.js";
import * as t from "../types.js";
import type { Effect } from "../gen/typegraph_core";
import { type Materializer, Runtime } from "./mod.js";
interface PythonImport {
    name: string;
    module: string;
    deps?: Array<string>;
    secrets?: Array<string>;
    effect?: Effect;
}
interface ImportMat extends Materializer {
    module: string;
    name: string;
}
export declare class PythonRuntime extends Runtime {
    constructor();
    /** create a function from a lambda */
    fromLambda<P extends Record<string, t.Typedef> = Record<string, t.Typedef>, I extends t.Struct<P> = t.Struct<P>, O extends t.Typedef = t.Typedef>(inp: I, out: O, { code }: {
        code: string;
    }): t.Func;
    /** create a function from a Python `def` function */
    fromDef<P extends Record<string, t.Typedef> = Record<string, t.Typedef>, I extends t.Struct<P> = t.Struct<P>, O extends t.Typedef = t.Typedef>(inp: I, out: O, { code }: {
        code: string;
    }): t.Func;
    import<I extends t.Typedef = t.Typedef, O extends t.Typedef = t.Typedef>(inp: I, out: O, { name, module, deps, effect, secrets }: PythonImport): t.Func<I, O, ImportMat>;
}
export {};
